django template filter iterate to 10 code example
Example 1: how to count range in django template
{% for item in "x"|ljust:"100" %}
{{item}} {# or do anything 100 times #}
{% endfor %}
Example 2: for loop in django
{% for i in range %}
...
{% endfor %}