Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.1.X] Fixed #12067 - check_dependencies in contrib.admin.sites not …

…triggered using new style admin include

Thanks to robhudson for report and patch.

Backport of r11648 from trunk

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 84dac3aa8245b4fd4b399989c729a1775e2bbbfe 1 parent b06d1be
@spookylukey spookylukey authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.