Django

Code

Changeset 7315

Show
Ignore:
Timestamp:
03/18/08 18:38:59 (6 months ago)
Author:
ubernostrum
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial04.txt

    r7294 r7315  
    3838      data server-side, use ``method="post"``. This tip isn't specific to 
    3939      Django; it's just good Web development practice. 
     40     
     41    * ``forloop.counter`` indicates how many times the ``for`` tag has 
     42      gone through its loop; for more information, see `the 
     43      documentation for the "for" tag`_. 
     44 
     45.. _the documentation for the "for" tag: ../templates/#for 
    4046 
    4147Now, let's create a Django view that handles the submitted data and does