Fixed #33909 -- Corrected django.dispatch.receiver() signature.

This commit is contained in:
Youssef 2022-08-15 21:46:54 +01:00 committed by Mariusz Felisiak
parent 247e25897b
commit 0cbbed49f4
1 changed files with 3 additions and 1 deletions

View File

@ -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::