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 _