I have 2 lists and I have to scan them "concurrently" with the same indexes at the same time. Something like:
{% for lists %} first item from the first list first item from the second list {% endfor %} I thought about creating something like a map with 2 values in each index but I don't know how to use it in the template. Any advice?:) On 26 Ago, 00:56, bruno desthuilliers <bruno.desthuilli...@gmail.com> wrote: > On 25 août, 18:30, Andrea Imparato <imparato.and...@gmail.com> wrote: > > > Hello all, > > > is possible to do in templates double for like in C: > > > for(int i = 0, int j = 0; i<0 && j<0;i++,j++) ? > > What's your use case exactly ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.