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 %}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---