Ticket #537: urlresolvers.patch
File urlresolvers.patch, 615 bytes (added by , 19 years ago) |
---|
-
django/core/urlresolvers.py
78 78 return self._urlconf_module 79 79 urlconf_module = property(_get_urlconf_module) 80 80 81 def _get_url_patterns(self): 82 return self.urlconf_module.urlpatterns 83 url_patterns = property(_get_url_patterns) 84 81 85 def _resolve_special(self, view_type): 82 86 callback = getattr(self.urlconf_module, 'handler%s' % view_type) 83 87 mod_name, func_name = get_mod_func(callback)