﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33909	Signals docs omits **kwargs param to @receiver decorator?	Mike Lissner	badziyoussef	"Looking at the Signals docs:

https://docs.djangoproject.com/en/dev/topics/signals/#preventing-duplicate-signals

I was confused what parameters I could give to the @receiver decorator. The docs just say that it takes one parameter, the signal:



{{{
@receiver(request_finished)
def my_callback(sender, **kwargs):
    print(""Request finished!"")
}}}



But I think it should show:

{{{
@receiver(request_finished, **kwargs)
def my_callback(sender, **kwargs):
    print(""Request finished!"")
}}}

And explain that kwargs can be any of the arguments that you can pass to a manual connection. I learned this by looking at the code, which is very simple:

https://docs.djangoproject.com/en/dev/_modules/django/dispatch/dispatcher/#receiver

The reason this came up for me was that I was trying to figure out how to add a dispatch_uid parameter to the @receiver decorator, and it's not documented how to do so (ya just add it).

Would some tweaks to the docs along these lines be welcomed?"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	signals		Ready for checkin	1	0	0	0	1	0
