Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed #537; thanks, fonso
git-svn-id: http://code.djangoproject.com/svn/django/trunk@718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed Sep 29, 2005
1 parent 152d437 commit 22f2794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions django/core/urlresolvers.py
Expand Up @@ -78,6 +78,10 @@ def _get_urlconf_module(self):
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)
Expand Down

0 comments on commit 22f2794

Please sign in to comment.