diff options
author | Tim Graham <timograham@gmail.com> | 2014-04-01 20:46:34 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-04-03 07:28:10 -0400 |
commit | d73d0e071c1b4c86d57994a0ab55a74cfe80cdf5 (patch) | |
tree | f36eebaf1cdd8bd07503b3a538e7d875ff8d29b4 /tests/urls.py | |
parent | e6ced2bb086396b57601d04ad5b3ba347d1eb785 (diff) | |
download | django-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.py | 3 |
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 = [] |