diff options
Diffstat (limited to 'docs/intro')
| -rw-r--r-- | docs/intro/tutorial04.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index d769e7a9b1..d4a6352efd 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -233,6 +233,9 @@ First, open the ``polls/urls.py`` URLconf and change it like so: url(r'^(?P<question_id>\d+)/vote/$', views.vote, name='vote'), ) +Note that the name of the matched pattern in the regexes of the second and third +patterns has changed from ``<question_id>`` to ``<pk>``. + .. _tutorial04-amend-views: Amend views |
