Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleaned up admin sites.py imports.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 817f03f63fe2948188b6fc9a2216427c6f06aafa 1 parent 4b93bd8
Ramiro Morales ramiro authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 django/contrib/admin/sites.py
4 django/contrib/admin/sites.py
View
@@ -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.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 _
Please sign in to comment.
Something went wrong with that request. Please try again.