summaryrefslogtreecommitdiff
path: root/django/contrib/auth/decorators.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/decorators.py')
-rw-r--r--django/contrib/auth/decorators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/decorators.py b/django/contrib/auth/decorators.py
index 25bc20780e..1371c62eea 100644
--- a/django/contrib/auth/decorators.py
+++ b/django/contrib/auth/decorators.py
@@ -1,7 +1,7 @@
try:
- from functools import wraps, update_wrapper
+ from functools import update_wrapper
except ImportError:
- from django.utils.functional import wraps, update_wrapper # Python 2.3, 2.4 fallback.
+ from django.utils.functional import update_wrapper # Python 2.3, 2.4 fallback.
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.http import HttpResponseRedirect