Any efficient way to avoiding two forloops in django

后端 未结 0 591
灰色年华
灰色年华 2021-01-27 17:46

Any better or efficient way to this in django

{% for list1item in list1 %}
   {% for list2item in list2 %}
      {% if forloop.counter == forloop.parentloop.count         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题