From 3e66913f967e01295d86a86b981e3f54fbda29a5 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 28 Oct 2011 21:23:50 +0000 Subject: [PATCH] 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 --- django/core/urlresolvers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index 709a1fea11..c04345600c 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -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):