From c2ffe94d9a3e2857bdbd017d61ef5f42a3419bd7 Mon Sep 17 00:00:00 2001 From: Luke Plant <L.Plant.98@cantab.net> Date: Tue, 27 Oct 2009 00:49:33 +0000 Subject: [PATCH] Removed unused import. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11664 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/middleware/csrf.py | 4 ---- 1 file changed, 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