diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 5f397ecb018..2e81cbb8b94 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -191,6 +191,9 @@ class AdminSite(object): def get_urls(self): from django.conf.urls.defaults import patterns, url, include + if settings.DEBUG: + self.check_dependencies() + def wrap(view, cacheable=False): def wrapper(*args, **kwargs): return self.admin_view(view, cacheable)(*args, **kwargs)