equal
deleted
inserted
replaced
1 try: |
1 try: |
2 from functools import wraps, update_wrapper |
2 from functools import update_wrapper |
3 except ImportError: |
3 except ImportError: |
4 from django.utils.functional import wraps, update_wrapper # Python 2.3, 2.4 fallback. |
4 from django.utils.functional import update_wrapper # Python 2.3, 2.4 fallback. |
5 |
5 |
6 from django.contrib.auth import REDIRECT_FIELD_NAME |
6 from django.contrib.auth import REDIRECT_FIELD_NAME |
7 from django.http import HttpResponseRedirect |
7 from django.http import HttpResponseRedirect |
8 from django.utils.http import urlquote |
8 from django.utils.http import urlquote |
9 |
9 |