diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index a9a5a3b1a7..2a0dda38b8 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -79,7 +79,7 @@ class RegexURLResolver(object): urlconf_module = property(_get_urlconf_module) def _get_url_patterns(self): - return self.urlconf_module.patterns + return self.urlconf_module.urlpatterns url_patterns = property(_get_url_patterns) def _resolve_special(self, view_type):