[Answer]-Using 'for' in template with two variables: django

1👍

you can use zip in your view like

mylist = zip(first , second)

pass it to template

return render_to_response('template.html', {'liste': mylist, ...

and just try this

{% for item1, item2 in liste %}

in your template .

hope this will help you

you can also try with https://github.com/gabrielgrant/django-multiforloop

Leave a comment