Thank you everybody for all the great advice.

@Alexander: I tried your suggestion and it does exactly what i
wanted :-). Thank you!



On Sep 1, 1:22 am, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> This should work in 0.96:
>
> {% for point in points %}
>     There is a point at {{ point.0 }},{{ point.1 }}
> {% endfor %}
>
> From Django documentation:
>
>   Technically, when the template system encounters a dot, it tries the
> following lookups, in this order:
>
>   * Dictionary lookup
>   * Attribute lookup
>   * Method call
>   * List-index lookup
>
> On Sep 1, 6:12 am, jorgian <[EMAIL PROTECTED]> wrote:
>
> > I want to update the defaulttags.py file on appengine so that i loop
> > over a list of lists. I got it working on my machine but im having a
> > very hard time in getting appengine upload the changes i made to
> > appengine.
>
> > "New in Django development version 0.97 If you need to loop over a
> > list of lists, you can unpack the values in each sub-list into
> > individual variable."
>
> > ex:
> > {% for x, y in points %}
> >     There is a point at {{ x }},{{ y }}
> > {% endfor %}
>
> > I don't want to set the full django environment i only want to modify
> > the existing defaulttags.py.
>
> > Does anyone know if this is possible?
> > Any suggestions are more than welcome
>
> > --|an
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to