Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in /admin/doc/views/ caused by [6658]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8c9b65429a4eef317febf8cdf6c3d1c7cce7ec90 1 parent 8eeb9fe
@spookylukey spookylukey authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/auth/decorators.py
View
1  django/contrib/auth/decorators.py
@@ -51,6 +51,7 @@ def __init__(self, view_func, test_func, login_url=None, redirect_field_name=RED
self.test_func = test_func
self.login_url = login_url
self.redirect_field_name = redirect_field_name
+ self.__name__ = view_func.__name__
def __get__(self, obj, cls=None):
view_func = self.view_func.__get__(obj, cls)
Please sign in to comment.
Something went wrong with that request. Please try again.