Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #12067 - check_dependencies in contrib.admin.sites not triggere…

…d using new style admin include

Thanks to robhudson for report and patch.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c44fdf6a1ec2e9777948e193b9830679a19178eb 1 parent 2b2f92a
@spookylukey spookylukey authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/contrib/admin/sites.py
View
3  django/contrib/admin/sites.py
@@ -191,6 +191,9 @@ def inner(request, *args, **kwargs):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.