Skip to content

Commit 4034954

Browse files
authored
doc: observer example
Providing an example of usage in Django
1 parent 73d3505 commit 4034954

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

chapter02_observer/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ classDiagram
4343
4444
```
4545

46+
## Use in Python
47+
48+
[Django signals]([url](https://docs.djangoproject.com/en/4.2/topics/signals/)https://docs.djangoproject.com/en/4.2/topics/signals/)
49+
allow other parts of the code to sign up to receive updates, for instance when settings are changed
50+
or model instances are created and / or updated.
51+
4652
## Running the code
4753

4854
```bash

0 commit comments

Comments
 (0)