Reset forloop counter in django template

前端 未结 0 468
刺人心
刺人心 2021-02-20 10:33

How to reset the forloop counter in django template?

So I have something like this:

{% for major in majors %}
    {% for minor in minors %}
        {% if m         


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