{% for o in some_list %}
<tr class="{% cycle rowvalue1 rowvalue2 %}">
...
</tr>
{% endfor %}
if you want to use loop in html file django app then you can you cycle
in my case:
data-wow-delay="{% cycle 0.4 0.8 1.2 1.6 %}s">
{{ cycle "use your loop function here" }}
#bkhatti11 #bilaltraveller #azeemlab