Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #7935 -- Corrected typo in template docs, plus slightly clarifi…

…ed the language. Thanks to jturnbull for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8880fdd9ee7cd551ba10d34d80fa6092494c47ec 1 parent f7d123a
Russell Keith-Magee authored July 30, 2008

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/templates.txt
6  docs/templates.txt
@@ -703,9 +703,9 @@ You can loop over a list in reverse by using ``{% for obj in list reversed %}``.
703 703
 
704 704
 **New in Django development version**
705 705
 If 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::
  706
+in each sub-list into individual variables. For example, if your context
  707
+contains a list of (x,y) coordinates called ``points``, you could use the
  708
+following to output the list of points::
709 709
 
710 710
     {% for x, y in points %}
711 711
         There is a point at {{ x }},{{ y }}

0 notes on commit 8880fdd

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