summaryrefslogtreecommitdiff
path: root/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-09-11 22:36:16 +0000
committerRamiro Morales <cramm0@gmail.com>2011-09-11 22:36:16 +0000
commit26b812208751edf87b4df0aee00996c5c7bcd4c9 (patch)
tree0857822a7dbd27f459b9dfe2075bf194a3e16ce8 /tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py
parentfd9045346286208c0dbd0afc1f820e868910dac8 (diff)
Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage.
This applies to both our own [test] code and documentation examples. Also: * Moved the functions and handlers from `django.conf.urls.defaults` up to `django.conf.urls` deprecating the former module. * Added documentation for `handler403`. * Tweaked the URLs topic document a bit. Thanks to pupeno and cdestigter for their great work contributing patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py')
-rw-r--r--tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py b/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py
index 75a195ed14..0e58a157cf 100644
--- a/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py
+++ b/tests/regressiontests/urlpatterns_reverse/urls_without_full_import.py
@@ -1,7 +1,7 @@
# A URLs file that doesn't use the default
-# from django.conf.urls.defaults import *
+# from django.conf.urls import *
# import pattern.
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
from views import empty_view, bad_view
urlpatterns = patterns('',