Author: adrian
Date: 2006-07-28 16:24:19 -0500 (Fri, 28 Jul 2006)
New Revision: 3478
Modified:
django/trunk/django/contrib/auth/decorators.py
Log:
Removed bug from [3461] -- __name__ is not assignable
Modified: django/trunk/django/contrib/auth/decorators.py
===================================================================
--- django/trunk/django/contrib/auth/decorators.py 2006-07-28 20:48:26 UTC
(rev 3477)
+++ django/trunk/django/contrib/auth/decorators.py 2006-07-28 21:24:19 UTC
(rev 3478)
@@ -15,7 +15,6 @@
return HttpResponseRedirect('%s?%s=%s' % (login_url,
REDIRECT_FIELD_NAME, quote(request.get_full_path())))
_checklogin.__doc__ = view_func.__doc__
_checklogin.__dict__ = view_func.__dict__
- _checklogin.__name__ = view_func.__name__
return _checklogin
return _dec
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---