mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
|
@ -4,5 +4,5 @@ from .views import ArticleFormView
|
|||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^model_form/(?P<pk>\d+)/$', ArticleFormView.as_view(), name="article_form"),
|
||||
url(r'^model_form/(?P<pk>[0-9]+)/$', ArticleFormView.as_view(), name="article_form"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue