using variables and for loops in css django code example
Example 1: for loop in django
{% for i in range %}
...
{% endfor %}
Example 2: how take from for loop on django template
{% autoescape on %}
{{ body }}
{% endautoescape %}
{% for i in range %}
...
{% endfor %}
{% autoescape on %}
{{ body }}
{% endautoescape %}