Building a list in Django templates

后端 未结 7 1010
慢半拍i
慢半拍i 2020-12-05 13:14

With this code:

{% for o in [1,2,3] %}
    
{% cycle \'row1\' \'row2\' %}
{% endf
7条回答
提交回复
热议问题