summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-10-27 00:49:33 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-10-27 00:49:33 +0000
commitc2ffe94d9a3e2857bdbd017d61ef5f42a3419bd7 (patch)
tree893cfe5752235cbfc3afc009a27fe9c08ba10710
parent64b4ab18b47354fbd28fa93a1bc770728c596aac (diff)
Removed unused import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/middleware/csrf.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/middleware/csrf.py b/django/middleware/csrf.py
index 339487bbcc..ad3ab12260 100644
--- a/django/middleware/csrf.py
+++ b/django/middleware/csrf.py
@@ -8,10 +8,6 @@ against request forgeries from other sites.
import itertools
import re
import random
-try:
- from functools import wraps
-except ImportError:
- from django.utils.functional import wraps # Python 2.3, 2.4 fallback.
from django.conf import settings
from django.core.urlresolvers import get_callable