From 22f27949bd24f17972eb8e01e151e199ded22264 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Thu, 29 Sep 2005 13:29:12 +0000 Subject: [PATCH] Fixed #537; thanks, fonso git-svn-id: http://code.djangoproject.com/svn/django/trunk@718 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/urlresolvers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index cb65e7d5de..a9a5a3b1a7 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -78,6 +78,10 @@ class RegexURLResolver(object): return self._urlconf_module urlconf_module = property(_get_urlconf_module) + def _get_url_patterns(self): + return self.urlconf_module.patterns + url_patterns = property(_get_url_patterns) + def _resolve_special(self, view_type): callback = getattr(self.urlconf_module, 'handler%s' % view_type) mod_name, func_name = get_mod_func(callback)