Ticket #6659: 6659.docs.tutorial04.diff
File 6659.docs.tutorial04.diff, 735 bytes (added by , 17 years ago) |
---|
-
docs/tutorial04.txt
38 38 data server-side, use ``method="post"``. This tip isn't specific to 39 39 Django; it's just good Web development practice. 40 40 41 * ``forloop.counter`` gives the current iteration of the loop, starting at 42 1. For more information on for loop variables, see the `template`_ 43 documentation. 44 45 .. _template: ../templates/#for 46 41 47 Now, let's create a Django view that handles the submitted data and does 42 48 something with it. Remember, in `Tutorial 3`_, we created a URLconf for the 43 49 polls application that includes this line::