module documentation

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:
NO_RECEIVERS =

Undocumented

Value
object()
NONE_ID =

Undocumented

Value
_make_id(None)
logger =

Undocumented

def _make_id(target):

Undocumented

def receiver(signal, **kwargs):

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):
    ...