summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial04.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-12-18 18:36:01 -0500
committerTim Graham <timograham@gmail.com>2013-12-18 18:36:01 -0500
commitcc2d9602746395d5f406632139378d469ca6301b (patch)
tree71684b43b76c43d9fca8ce7f0200ae25a0859b12 /docs/intro/tutorial04.txt
parent4ac5def4a27802fb16a8941195bc0d98b9e2e35c (diff)
Fixed #21613 -- Removed a hardcoded input id from the tutorial.
Thanks Bruno Brouard for the report.
Diffstat (limited to 'docs/intro/tutorial04.txt')
-rw-r--r--docs/intro/tutorial04.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index f7aa79e6f7..fbccb93a70 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -34,7 +34,8 @@ A quick rundown:
``value`` of each radio button is the associated question 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' question.id %}``, and we
set ``method="post"``. Using ``method="post"`` (as opposed to