0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00

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

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.")