Loading docs/tutorial04.txt +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ A quick rundown: data server-side, use ``method="post"``. This tip isn't specific to Django; it's just good Web development practice. * ``forloop.counter`` indicates how many times the ``for`` tag has gone through its loop; for more information, see `the documentation for the "for" tag`_. .. _the documentation for the "for" tag: ../templates/#for Now, let's create a Django view that handles the submitted data and does something with it. Remember, in `Tutorial 3`_, we created a URLconf for the polls application that includes this line:: Loading Loading
docs/tutorial04.txt +6 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,12 @@ A quick rundown: data server-side, use ``method="post"``. This tip isn't specific to Django; it's just good Web development practice. * ``forloop.counter`` indicates how many times the ``for`` tag has gone through its loop; for more information, see `the documentation for the "for" tag`_. .. _the documentation for the "for" tag: ../templates/#for Now, let's create a Django view that handles the submitted data and does something with it. Remember, in `Tutorial 3`_, we created a URLconf for the polls application that includes this line:: Loading