summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests/urls.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-03-14 20:28:24 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-03-14 20:30:23 +0100
commit3f2befc93163e0666dcc4f745288b98306de4b8e (patch)
treeecca16348da0fab7c87bba937090aef498c9ff2f /tests/contenttypes_tests/urls.py
parent2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3 (diff)
Deprecated django.views.defaults.shortcut.
Diffstat (limited to 'tests/contenttypes_tests/urls.py')
-rw-r--r--tests/contenttypes_tests/urls.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/contenttypes_tests/urls.py b/tests/contenttypes_tests/urls.py
new file mode 100644
index 0000000000..2cfc90b024
--- /dev/null
+++ b/tests/contenttypes_tests/urls.py
@@ -0,0 +1,7 @@
+from __future__ import absolute_import, unicode_literals
+
+from django.conf.urls import patterns
+
+urlpatterns = patterns('',
+ (r'^shortcut/(\d+)/(.*)/$', 'django.contrib.contenttypes.views.shortcut'),
+)