Added a missing import in AdminSite.check_dependancies.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2008-08-09 23:56:34 +00:00
parent 89a8990a76
commit b5b129567e
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ class AdminSite(object):
"""
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.")