Any better or efficient way to this in django
{% for list1item in list1 %} {% for list2item in list2 %} {% if forloop.counter == forloop.parentloop.count