Undocumented
Constant | NO_RECEIVERS |
Undocumented |
Constant | NONE_ID |
Undocumented |
Variable | logger |
Undocumented |
Class | Signal |
Base class for all signals |
Function | _make_id |
Undocumented |
Function | receiver |
A decorator for connecting receivers to signals. Used by passing in the signal (or list of signals) and keyword arguments to connect: |
A decorator for connecting receivers to signals. Used by passing in the signal (or list of signals) and keyword arguments to connect:
@receiver(post_save, sender=MyModel) def signal_receiver(sender, **kwargs): ... @receiver([post_save, post_delete], sender=MyModel) def signals_receiver(sender, **kwargs): ...