[google-appengine] Re: iterate thru 2 stringlistproperties in template

2009-03-09 Thread Andi Albrecht
I would zip() both lists on the Python side and iterate over that zipped lists in the template, e.g. # Python side newval = zip(stringlist1, stringlist2) # Template {%for item in newval%} {{item.0}} and {{item.1}} {%endfor%} Regards, Andi On Mon, Mar 9, 2009 at 2:19 PM, sagey wrote: > > Hell

[google-appengine] Re: iterate thru 2 stringlistproperties in template

2009-03-11 Thread sagey
Perfect! Thanks Andi, this has really helped me refactor my code away from a complete kludge into something almost workable. its amazing how much i've been trying to code round my lack of knowledge of python (the project i'm working on is primarily a python/ django/gae learning excercise) Thank