From 731f313d604a6cc141f36d8a1ba9a75790c70154 Mon Sep 17 00:00:00 2001 From: Rikki Date: Mon, 21 Jul 2014 23:37:45 +0100 Subject: [PATCH] Added warning in tutorial 4 that the regex capture group name has changed. --- docs/intro/tutorial04.txt | 3 +++ 1 file changed, 3 insertions(+) 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[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 ```` to ````. + .. _tutorial04-amend-views: Amend views