How to make a for loop in Jinja?

Solution 1:

You can create a loop like this:

{% for i in range(11) %}
  {{ i }}
{% endfor %}