> I find it useful to have the {% for %} tag syntax extended so that one can 
> write:
> {% for a,b in L %} meaning the obvious thing

+1

> Also (maybe more contentious):
> {% for i in L1,L2 %} meaning what one would write in python as:
> for i in zip(L1,L2)

+0

On 2/18/07, Gary Wilson <[EMAIL PROTECTED]> wrote:
>
> On Feb 17, 3:58 pm, "Honza Král" <[EMAIL PROTECTED]> wrote:
> > On 2/17/07, oggie rob <[EMAIL PROTECTED]> wrote:
> > > > I find it useful to have the {% for %} tag syntax extended so that one
> can write:
> > > > {% for a,b in L %} meaning the obvious thing
> >
> > +1
>
> +1
> The {{ x.0 }} syntax is simply ugly and unreadable.
>
> > > >  Also (maybe more contentious):
> > > > {% for i in L1,L2 %} meaning what one would write in python as:
> > > > for i in zip(L1,L2)
> >
> > +0 - I like this feature, but I didn't know when I first looked at it
> > whether its a zip() or concatenation, that should be clear
>
> +0
> For the same reason Honza mentioned.  I would be ok with introducing
> "zip" in there though:
> {% for i in zip L1,L2 %}
>
>
> >
>


-- 
I like python!
UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to