diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2007-11-09 15:27:49 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2007-11-09 15:27:49 +0000 |
| commit | 8c9b65429a4eef317febf8cdf6c3d1c7cce7ec90 (patch) | |
| tree | 3540757bcee8e4d76942a279165b8df901199d1f | |
| parent | 8eeb9feab071caf5ad568ce292d32a2ebf540f62 (diff) | |
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
| -rw-r--r-- | django/contrib/auth/decorators.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
