summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro/tutorial04.txt')
-rw-r--r--docs/intro/tutorial04.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 59b0b8e81a..51cc34a30f 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>[0-9]+)/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