django - Looping over two lists in a template -
In a DJ ango template, I want to access elements in a list, while looping on elements in another list, I am passing the list mylist1
and mylist2
(the same number of both elements) in the template as the hidden variable, and give me the mylist1
element Display, and still display the related element of mylist2
This will look something like this:
What is the correct solution?
Comments
Post a Comment