Django

Code

Changeset 8154

Show
Ignore:
Timestamp:
07/30/08 07:37:38 (5 months ago)
Author:
russellm
Message:

Fixed #7935 -- Corrected typo in template docs, plus slightly clarified the language. Thanks to jturnbull for the suggestion.

Files:

Legend:

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

    r8095 r8154  
    704704**New in Django development version** 
    705705If you need to loop over a list of lists, you can unpack the values 
    706 in eachs sub-list into a set of known names. For example, if your context contains 
    707 a list of (x,y) coordinates called ``points``, you could use the following 
    708 to output the list of points:: 
     706in each sub-list into individual variables. For example, if your context 
     707contains a list of (x,y) coordinates called ``points``, you could use the 
     708following to output the list of points:: 
    709709 
    710710    {% for x, y in points %}