summaryrefslogtreecommitdiff
path: root/tests/urls.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-04-01 20:46:34 -0400
committerTim Graham <timograham@gmail.com>2014-04-03 07:28:10 -0400
commitd73d0e071c1b4c86d57994a0ab55a74cfe80cdf5 (patch)
treef36eebaf1cdd8bd07503b3a538e7d875ff8d29b4 /tests/urls.py
parente6ced2bb086396b57601d04ad5b3ba347d1eb785 (diff)
downloaddjango-d73d0e071c1b4c86d57994a0ab55a74cfe80cdf5.tar.gz
Fixed #22218 -- Deprecated django.conf.urls.patterns.
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
Diffstat (limited to 'tests/urls.py')
-rw-r--r--tests/urls.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/urls.py b/tests/urls.py
index 34e3afcb83..bf9e5dc0fb 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -2,7 +2,6 @@
should be added within the test folders, and use TestCase.urls to set them.
This helps the tests remain isolated.
"""
-from django.conf.urls import patterns
-urlpatterns = patterns('')
+urlpatterns = []