summaryrefslogtreecommitdiff
path: root/docs/tutorial04.txt
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2008-03-23 17:18:58 +0000
committerJustin Bronn <jbronn@gmail.com>2008-03-23 17:18:58 +0000
commit2efc34dc5e65da792700af6594c537104cbee9dc (patch)
treed78d906a2d7ea692b5c2f100f792cf1c1991e669 /docs/tutorial04.txt
parentb0a895f9e891bb1fc653724691e6d85612de2708 (diff)
gis: Merged revisions 7280-7353 via svnmerge from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial04.txt')
-rw-r--r--docs/tutorial04.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt
index bd16fa2924..473fba1ef8 100644
--- a/docs/tutorial04.txt
+++ b/docs/tutorial04.txt
@@ -37,6 +37,12 @@ A quick rundown:
form will alter data server-side. Whenever you create a form that alters
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