Browse files

Added a missing import in AdminSite.check_dependancies.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
brosner committed Aug 9, 2008
1 parent 89a8990 commit b5b129567e476f89faf3897da3481a29ca99d041
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/admin/
@@ -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.")

0 comments on commit b5b1295

Please sign in to comment.