mirror of https://github.com/django/django.git
[1.10.x] Rephrased an ambiguous sentence in docs/topics/signals.txt.
Backport of df2a5227c9
from master
This commit is contained in:
parent
4f4d1a71d3
commit
471d72f81f
|
@ -47,8 +47,9 @@ You can also `define and send your own custom signals`_; see below.
|
|||
Listening to signals
|
||||
====================
|
||||
|
||||
To receive a signal, you need to register a *receiver* function that gets
|
||||
called when the signal is sent by using the :meth:`Signal.connect` method:
|
||||
To receive a signal, register a *receiver* function using the
|
||||
:meth:`Signal.connect` method. The receiver function is called when the signal
|
||||
is sent.
|
||||
|
||||
.. method:: Signal.connect(receiver, sender=None, weak=True, dispatch_uid=None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue