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