You can use zip in your view: Mylist = zip (list1, list2) context = { 'mylist': Being a web framework, django needs a convenient way to generate html dynamically. Web create simple reusable template components in django. Mylist, } return render (request,.
Mylist = zip (list1, list2) context = { 'mylist': Being a web framework, django needs a convenient way to generate html dynamically. You can use zip in your view: Mylist = zip (list1, list2) context = { 'mylist': Mylist, } return render (request,. Web create simple reusable template components in django.