mirror of
https://github.com/Hopiu/django.git
synced 2026-04-23 00:04:48 +00:00
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
This commit is contained in:
parent
8eeb9feab0
commit
8c9b65429a
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ class _CheckLogin(object):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue