From 8c9b65429a4eef317febf8cdf6c3d1c7cce7ec90 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Fri, 9 Nov 2007 15:27:49 +0000 Subject: [PATCH] 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 --- django/contrib/auth/decorators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/auth/decorators.py b/django/contrib/auth/decorators.py index 2f216ab758..f3f7f530ef 100644 --- a/django/contrib/auth/decorators.py +++ b/django/contrib/auth/decorators.py @@ -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)