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 <[email protected]>
wrote:
> On 25 août, 18:30, Andrea Imparato <[email protected]> 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 [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-users?hl=en.