mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
Thanks tomwys for the suggestion.
This commit is contained in:
parent
030dd4f72c
commit
66ec9ee441
38 changed files with 181 additions and 181 deletions
|
@ -6,5 +6,5 @@ from .views import empty_view
|
|||
urlpatterns = [
|
||||
url(r'^$', empty_view, name="inner-nothing"),
|
||||
url(r'^extra/(?P<extra>\w+)/$', empty_view, name="inner-extra"),
|
||||
url(r'^(?P<one>\d+)|(?P<two>\d+)/$', empty_view, name="inner-disjunction"),
|
||||
url(r'^(?P<one>[0-9]+)|(?P<two>[0-9]+)/$', empty_view, name="inner-disjunction"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue