소스 검색

Fixed #21613 -- Removed a hardcoded input id from the tutorial.

Thanks Bruno Brouard for the report.
Tim Graham 11 년 전
부모
커밋
cc2d960274
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/intro/tutorial04.txt

+ 2 - 1
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