summaryrefslogtreecommitdiff
path: root/tests/admin_changelist
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/admin_changelist
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/admin_changelist')
-rw-r--r--tests/admin_changelist/urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_changelist/urls.py b/tests/admin_changelist/urls.py
index a5d927e20b..b73893b2ae 100644
--- a/tests/admin_changelist/urls.py
+++ b/tests/admin_changelist/urls.py
@@ -1,8 +1,8 @@
-from django.conf.urls import patterns, include
+from django.conf.urls import include, url
from . import admin
-urlpatterns = patterns('',
- (r'^admin/', include(admin.site.urls)),
-)
+urlpatterns = [
+ url(r'^admin/', include(admin.site.urls)),
+]