diff options
| author | Tim Graham <timograham@gmail.com> | 2013-12-18 18:36:01 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-12-18 18:37:14 -0500 |
| commit | 6980059af2835ed3d15b4a59e16321bc8d828c0e (patch) | |
| tree | f5d1b76a020103d787b7bf07d2c70f1b0a2028b7 /docs/intro/tutorial04.txt | |
| parent | 6833773775fe135c38768418d31ec3f789d8f06f (diff) | |
[1.5.x] Fixed #21613 -- Removed a hardcoded input id from the tutorial.
Thanks Bruno Brouard for the report.
Backport of cc2d960274 from master
Diffstat (limited to 'docs/intro/tutorial04.txt')
| -rw-r--r-- | docs/intro/tutorial04.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index 9f54243a3e..05672c2852 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 |
