summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFilipa Andrade <filipa.andrade@gmail.com>2016-04-13 10:04:24 +0200
committerTim Graham <timograham@gmail.com>2016-04-13 07:48:18 -0400
commit47fbbc33de805c803c39483344854caa2890c32c (patch)
tree338f7420fb02c7b13fed423d4ce39387c22d435f /docs
parent1ee9c5b4a965aaec7ab230295dcd4b99e330ab03 (diff)
Fixed #26493 -- Documented how built-in signals are sent.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/signals.txt3
-rw-r--r--docs/topics/signals.txt7
2 files changed, 6 insertions, 4 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index b938f10fd9..b7371a1ed0 100644
--- a/docs/ref/signals.txt
+++ b/docs/ref/signals.txt
@@ -2,7 +2,8 @@
Signals
=======
-A list of all the signals that Django sends.
+A list of all the signals that Django sends. All built-in signals are sent
+using the :meth:`~django.dispatch.Signal.send` method.
.. seealso::
diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt
index 71b8213dd9..c43f02bd80 100644
--- a/docs/topics/signals.txt
+++ b/docs/topics/signals.txt
@@ -235,9 +235,10 @@ There are two ways to send signals in Django.
.. method:: Signal.send(sender, **kwargs)
.. method:: Signal.send_robust(sender, **kwargs)
-To send a signal, call either :meth:`Signal.send` or :meth:`Signal.send_robust`.
-You must provide the ``sender`` argument (which is a class most of the time),
-and may provide as many other keyword arguments as you like.
+To send a signal, call either :meth:`Signal.send` (all built-in signals use
+this) or :meth:`Signal.send_robust`. You must provide the ``sender`` argument
+(which is a class most of the time) and may provide as many other keyword
+arguments as you like.
For example, here's how sending our ``pizza_done`` signal might look::