mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
More django.conf.urls.defaults removals. Refs #17132
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -336,7 +336,7 @@ class RegexURLResolver(LocaleRegexProvider):
|
||||
callback = getattr(self.urlconf_module, 'handler%s' % view_type, None)
|
||||
if not callback:
|
||||
# No handler specified in file; use default
|
||||
# Lazy import, since urls.defaults imports this file
|
||||
# Lazy import, since django.urls imports this file
|
||||
from django.conf import urls
|
||||
callback = getattr(urls, 'handler%s' % view_type)
|
||||
return get_callable(callback), {}
|
||||
|
||||
Reference in New Issue
Block a user