summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests/urls.py
diff options
context:
space:
mode:
authorchriscauley <chris@lablackey.com>2014-04-14 14:12:44 -0400
committerTim Graham <timograham@gmail.com>2014-04-16 20:36:29 -0400
commit66ec9ee441618894c1ccebdcdd5eb4d7fbf4a6d3 (patch)
tree956a7d4f6e3b1c348505a3f2d23c7813c6c362b8 /tests/contenttypes_tests/urls.py
parent030dd4f72ca4d84c0a5e09ee625123d03651fdd1 (diff)
Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
Thanks tomwys for the suggestion.
Diffstat (limited to 'tests/contenttypes_tests/urls.py')
-rw-r--r--tests/contenttypes_tests/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/contenttypes_tests/urls.py b/tests/contenttypes_tests/urls.py
index bf038c93de..285a5a2068 100644
--- a/tests/contenttypes_tests/urls.py
+++ b/tests/contenttypes_tests/urls.py
@@ -4,5 +4,5 @@ from django.conf.urls import url
from django.contrib.contenttypes import views
urlpatterns = [
- url(r'^shortcut/(\d+)/(.*)/$', views.shortcut),
+ url(r'^shortcut/([0-9]+)/(.*)/$', views.shortcut),
]