zip django template

Solutions on MaxInterview for zip django template by the best coders in the world

showing results for - "zip django template"
Elías
29 Apr 2019
1mylist = zip(list1, list2)
2context = {
3            'mylist': mylist,
4        }
5return render(request, 'template.html', context)
Mohammad
22 Jun 2020
1{% for item1, item2 in mylist %}