Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #6659: explained where "forloop.counter" comes from

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d74376aabc64952264c12798ba9dcf868e195f0 1 parent 39b1f1d
@ubernostrum ubernostrum authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/tutorial04.txt
6 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

0 comments on commit 7d74376

Please sign in to comment.
Something went wrong with that request. Please try again.