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:
parent
89a8990a76
commit
b5b129567e
|
@ -123,6 +123,7 @@ class AdminSite(object):
|
||||||
"""
|
"""
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib.admin.models import LogEntry
|
from django.contrib.admin.models import LogEntry
|
||||||
|
from django.contrib.contenttypes.models import ContentType
|
||||||
|
|
||||||
if not LogEntry._meta.installed:
|
if not LogEntry._meta.installed:
|
||||||
raise ImproperlyConfigured("Put 'django.contrib.admin' in your INSTALLED_APPS setting in order to use the admin application.")
|
raise ImproperlyConfigured("Put 'django.contrib.admin' in your INSTALLED_APPS setting in order to use the admin application.")
|
||||||
|
|
Loading…
Reference in New Issue