On 2011-01-16, at 14:42 , Torsten Bronger wrote: > Hallöchen! > > David Walker writes: > >> [...] >> >> and the the {% for %} becomes: >> {% for smth1, smth2 in zipped %} > > On the other hand, as somebody having zip() in a dozen of > render_to_response calls, I can say that > > {% for smth1, smth2 in list1, list2 %} > > would be a nice thing to have. ;-) Why don't you build a template tag doing that for you? Something like
{% forN s1, s2, … in it1, it2, … %} ? Then, if it's compatible with single-iterable-for, you can even propose it for inclusion (instead of the old for) in 1.4 or something. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.