Fixed #17132 -- remove a leftover reference to django.conf.default.urls in Django. THanks to claudep for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2011-10-28 21:23:50 +00:00
parent 11861a29d5
commit 3e66913f96
1 changed files with 2 additions and 2 deletions

View File

@ -337,8 +337,8 @@ class RegexURLResolver(LocaleRegexProvider):
if not callback: if not callback:
# No handler specified in file; use default # No handler specified in file; use default
# Lazy import, since urls.defaults imports this file # Lazy import, since urls.defaults imports this file
from django.conf.urls import defaults from django.conf import urls
callback = getattr(defaults, 'handler%s' % view_type) callback = getattr(urls, 'handler%s' % view_type)
return get_callable(callback), {} return get_callable(callback), {}
def resolve403(self): def resolve403(self):