Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a missing import in AdminSite.check_dependancies.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b5b129567e476f89faf3897da3481a29ca99d041 1 parent 89a8990
@brosner brosner authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/admin/sites.py
View
1  django/contrib/admin/sites.py
@@ -123,6 +123,7 @@ def check_dependancies(self):
"""
from django.conf import settings
from django.contrib.admin.models import LogEntry
+ from django.contrib.contenttypes.models import ContentType
if not LogEntry._meta.installed:
raise ImproperlyConfigured("Put 'django.contrib.admin' in your INSTALLED_APPS setting in order to use the admin application.")
Please sign in to comment.
Something went wrong with that request. Please try again.