How do I write a numeric for loop in a Django template? I mean something like
for
for i = 1 to n
You can use: {% with ''|center: i as range %}
{% with ''|center: i as range %}