                  'counter': i+1,
                  # reverse counter iteration numbers
                  'revcounter': len_values - i,
                  'revcounter0': len_values - i - 1,
                  # boolean values designating first and last times through loop
                  'first': (i == 0),
                  'last': (i == len_values - 1),
                  'parentloop': parentloop,
              }
              if unpack:
 
</s> remove                 # reverse counter iteration numbers
 </s> add                 # Reverse counter iteration numbers. </s> remove                 # shortcuts for current loop iteration number
 </s> add                 # Shortcuts for current loop iteration number. </s> remove                 # If there are multiple loop variables, unpack the item into them.
 </s> add                 # If there are multiple loop variables, unpack the item into
                # them. </s> remove     "Returns the length of the value - useful for lists"
 </s> add     """Returns the length of the value - useful for lists.""" </s> remove     "Adds slashes - useful for passing strings to JavaScript, for example."
 </s> add     """Adds slashes - useful for passing strings to JavaScript, for example."""
                # Boolean values designating first and last times through loop.
                  'counter': i+1,
                  # reverse counter iteration numbers
                  'revcounter': len_values - i,
                  'revcounter0': len_values - i - 1,
                # Boolean values designating first and last times through loop.
                  'first': (i == 0),
                  'last': (i == len_values - 1),
                  'parentloop': parentloop,
              }
              if unpack:
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py