How to make a for loop in Jinja?
Jinja2Jinja2 Problem Overview
I want to make a for-loop that goes from 0 to 10 in Jinja.
How do I do it?
All I know to do is the advanced for, but this does not help me now.
Jinja2 Solutions
Solution 1 - Jinja2
You can create a loop like this:
{% for i in range(11) %}
{{ i }}
{% endfor %}