Ticket #12067: 12067.diff
File 12067.diff, 547 bytes (added by , 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): 191 191 def get_urls(self): 192 192 from django.conf.urls.defaults import patterns, url, include 193 193 194 if settings.DEBUG: 195 self.check_dependencies() 196 194 197 def wrap(view, cacheable=False): 195 198 def wrapper(*args, **kwargs): 196 199 return self.admin_view(view, cacheable)(*args, **kwargs)