post_save and pre_delete Signals
Run code when models change.
Signals in a Sentence
A signal lets one part of Django announce that something happened, so other code can react without being directly called.
Why React to Events
Sometimes you want side effects when a model changes, like sending a welcome email after signup. Signals keep that reaction out of your save logic.
All lessons in this course
- post_save and pre_delete Signals
- Connecting Receivers Properly
- Writing Custom Middleware
- Middleware Order and process_view