mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue