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:
parent
11861a29d5
commit
3e66913f96
|
@ -337,8 +337,8 @@ class RegexURLResolver(LocaleRegexProvider):
|
|||
if not callback:
|
||||
# No handler specified in file; use default
|
||||
# Lazy import, since urls.defaults imports this file
|
||||
from django.conf.urls import defaults
|
||||
callback = getattr(defaults, 'handler%s' % view_type)
|
||||
from django.conf import urls
|
||||
callback = getattr(urls, 'handler%s' % view_type)
|
||||
return get_callable(callback), {}
|
||||
|
||||
def resolve403(self):
|
||||
|
|
Loading…
Reference in New Issue