Skip to content
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2b2f92a commit c44fdf6a1ec2e9777948e193b9830679a19178eb @spookylukey spookylukey committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/contrib/admin/
3 django/contrib/admin/
@@ -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)

0 comments on commit c44fdf6

Please sign in to comment.
Something went wrong with that request. Please try again.