From 0cbbed49f4fbe60ddf9b452b310815708a64cc64 Mon Sep 17 00:00:00 2001 From: Youssef <95358038+badziyoussef@users.noreply.github.com> Date: Mon, 15 Aug 2022 21:46:54 +0100 Subject: [PATCH] Fixed #33909 -- Corrected django.dispatch.receiver() signature. --- docs/topics/signals.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt index aabce9c9900..829bf039df8 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 `. Here's how you connect with the decorator::