Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #537; thanks, fonso

git-svn-id: http://code.djangoproject.com/svn/django/trunk@718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 22f27949bd24f17972eb8e01e151e199ded22264 1 parent 152d437
Jacob Kaplan-Moss authored September 29, 2005

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  django/core/urlresolvers.py
4  django/core/urlresolvers.py
@@ -78,6 +78,10 @@ def _get_urlconf_module(self):
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.patterns
  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)

0 notes on commit 22f2794

Please sign in to comment.
Something went wrong with that request. Please try again.