Jinja it is, yes... I thought I could use something like that but I hoped for a more elegant solution :)
Thanks! Sent from my iPhone On Jun 11, 2011, at 11:08 AM, Simon Sapin <[email protected]> wrote: > Le 11/06/2011 19:29, jonozzz a écrit : >> Is it possible to access the parent loop in nested for loops, just >> like in Django: forloop.parentloop ? >> > > Hi, > > Assuming you’re talking about Jinja, have a look at this: > > http://jinja.pocoo.org/docs/tricks/#accessing-the-parent-loop > > Regards, > -- > Simon Sapin > > -- > You received this message because you are subscribed to the Google Groups > "pocoo-libs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pocoo-libs?hl=en. > -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
