Re: Dynamically traversing a list in templates

2009-02-15 Thread Alex Gaynor
On Sun, Feb 15, 2009 at 6:02 PM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Sun, 2009-02-15 at 15:09 -0500, Alex Gaynor wrote: > > > > > > On Sun, Feb 15, 2009 at 3:07 PM, nivhab wrote: > > > > Thanks for the fast reply! > > This generates the following error: >

Re: Dynamically traversing a list in templates

2009-02-15 Thread Malcolm Tredinnick
On Sun, 2009-02-15 at 15:09 -0500, Alex Gaynor wrote: > > > On Sun, Feb 15, 2009 at 3:07 PM, nivhab wrote: > > Thanks for the fast reply! > This generates the following error: > 'for' statements with five words should end in 'reversed' > > And

Re: Dynamically traversing a list in templates

2009-02-15 Thread Alex Gaynor
On Sun, Feb 15, 2009 at 3:07 PM, nivhab wrote: > > Thanks for the fast reply! > This generates the following error: > 'for' statements with five words should end in 'reversed' > > And as I have just found out, this error cannot be solved in 0.96 > version. So it seems there is no way of doing suc

Re: Dynamically traversing a list in templates

2009-02-15 Thread nivhab
Thanks for the fast reply! This generates the following error: 'for' statements with five words should end in 'reversed' And as I have just found out, this error cannot be solved in 0.96 version. So it seems there is no way of doing such and iteration in this version. Only 1.0 or DEV versions. O

Re: Dynamically traversing a list in templates

2009-02-15 Thread Alex Gaynor
On Sun, Feb 15, 2009 at 2:47 PM, nivhab wrote: > > Does anyone know of a way to traverse a list in templates in a dynamic > way? > Let's say I have the following list: > {'message': [u'This field is required.'], 'sender': [u'Enter a valid e- > mail address.']} > > and I do not know in advance the