Ticket #12067: 12067.diff

File 12067.diff, 547 bytes (added by Rob Hudson, 15 years ago)
  • django/contrib/admin/sites.py

    diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py
    index 5f397ec..2e81cbb 100644
    a b class AdminSite(object):  
    191191    def get_urls(self):
    192192        from django.conf.urls.defaults import patterns, url, include
    193193
     194        if settings.DEBUG:
     195            self.check_dependencies()
     196
    194197        def wrap(view, cacheable=False):
    195198            def wrapper(*args, **kwargs):
    196199                return self.admin_view(view, cacheable)(*args, **kwargs)
Back to Top