summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYoussef <95358038+badziyoussef@users.noreply.github.com>2022-08-15 21:46:54 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-08-16 06:13:15 +0200
commit0cbbed49f4fbe60ddf9b452b310815708a64cc64 (patch)
treee2055e44e33a71f428d550a1182a2b6600e54220 /docs
parent247e25897b1682a1c15f240d780eb81ca01e0a5a (diff)
Fixed #33909 -- Corrected django.dispatch.receiver() signature.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/signals.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt
index aabce9c990..829bf039df 100644
--- a/docs/topics/signals.txt
+++ b/docs/topics/signals.txt
@@ -112,9 +112,11 @@ manual connect route::
Alternatively, you can use a :func:`receiver` decorator:
-.. function:: receiver(signal)
+.. function:: receiver(signal, **kwargs)
:param signal: A signal or a list of signals to connect a function to.
+ :param kwargs: Wildcard keyword arguments to pass to a
+ :ref:`function <receiver-functions>`.
Here's how you connect with the decorator::