From 817f03f63fe2948188b6fc9a2216427c6f06aafa Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sat, 30 Apr 2011 22:24:08 +0000 Subject: [PATCH] Cleaned up admin sites.py imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16134 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/sites.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index a933d9ed68..a0338ee601 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -1,6 +1,5 @@ -import re from functools import update_wrapper -from django import http, template +from django import http from django.contrib.admin import ModelAdmin, actions from django.contrib.admin.forms import AdminAuthenticationForm from django.contrib.auth import REDIRECT_FIELD_NAME @@ -10,7 +9,6 @@ from django.db.models.base import ModelBase from django.core.exceptions import ImproperlyConfigured from django.core.urlresolvers import reverse from django.template.response import TemplateResponse -from django.utils.functional import update_wrapper from django.utils.safestring import mark_safe from django.utils.text import capfirst from django.utils.translation import ugettext as _