mirror of https://github.com/django/django.git
Documented the order in which signal receivers are called.
This commit is contained in:
parent
52cb419072
commit
ab0fd3f58f
|
@ -49,7 +49,8 @@ Listening to signals
|
||||||
|
|
||||||
To receive a signal, register a *receiver* function using the
|
To receive a signal, register a *receiver* function using the
|
||||||
:meth:`Signal.connect` method. The receiver function is called when the signal
|
:meth:`Signal.connect` method. The receiver function is called when the signal
|
||||||
is sent.
|
is sent. All of the signal's receiver functions are called one at a time, in
|
||||||
|
the order they were registered.
|
||||||
|
|
||||||
.. method:: Signal.connect(receiver, sender=None, weak=True, dispatch_uid=None)
|
.. method:: Signal.connect(receiver, sender=None, weak=True, dispatch_uid=None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue