﻿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
2388	[patch]login_required decorator in contrib.auth doesn't preserve doc string or dict of decorated function.	derekgr@…	Adrian Holovaty	"Functions decorated with django.contrib.auth's login_required decorator don't inherit the __name__, __doc__, or __dict__ attributes of the functions they decorate.

The login_required decorator returns an inner function, so I would expect that it would simply set the attributes accordingly. In fact, a patch is applied which does exactly that.

In this way examining methods in the shell makes it more transparent that a decorator is applied and allows developer documentation strings to percolate past the decoration."	defect	closed	Contrib apps	dev	minor	fixed			Unreviewed	1	0	0	0	0	0
