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,6 +6,6 @@ from .views import empty_view
|
|||
urlpatterns = [
|
||||
url(r'^$', empty_view, name="named-url1"),
|
||||
url(r'^extra/(?P<extra>\w+)/$', empty_view, name="named-url2"),
|
||||
url(r'^(?P<one>\d+)|(?P<two>\d+)/$', empty_view),
|
||||
url(r'^(?P<one>[0-9]+)|(?P<two>[0-9]+)/$', empty_view),
|
||||
url(r'^included/', include('urlpatterns_reverse.included_named_urls')),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue