From 04030acb85c8fecae7ae3773c9595bb14bdb4547 Mon Sep 17 00:00:00 2001 From: Rikki Date: Mon, 21 Jul 2014 23:37:45 +0100 Subject: [PATCH] [1.7.x] Added warning in tutorial 4 that the regex capture group name has changed. Backport of 731f313d60 from master --- docs/intro/tutorial04.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index d769e7a9b1069..d4a6352efd376 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\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 ```` to ````. + .. _tutorial04-amend-views: Amend views