Django templates offer the builtin tag cycle for alternating between several values at different points in a template (or for loop in a template) but this tag d
cycle
I end up doing so, with the forloop.counter0 - It works great!
{% for product in products %} {% if forloop.counter0|divisibleby:4 %}{% endif %} Lorem Ipsum is simply dummy text {% endfor %}