From 07d3d57dedbc2baf8d704d32f3d48523d2991b9e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 18 Dec 2013 18:36:01 -0500 Subject: [PATCH] [1.6.x] Fixed #21613 -- Removed a hardcoded input id from the tutorial. Thanks Bruno Brouard for the report. Backport of cc2d960274 from master --- docs/intro/tutorial04.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index f81a7d6758..499f0e1818 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -33,7 +33,8 @@ A quick rundown: ``value`` of each radio button is the associated poll choice's ID. The ``name`` of each radio button is ``"choice"``. That means, when somebody selects one of the radio buttons and submits the form, it'll send the - POST data ``choice=3``. This is the basic concept of HTML forms. + POST data ``choice=#`` where # is the ID of the selected choice. This is the + basic concept of HTML forms. * We set the form's ``action`` to ``{% url 'polls:vote' poll.id %}``, and we set ``method="post"``. Using ``method="post"`` (as opposed to