How do I write a numeric for loop in a Django template? I mean something like
for
for i = 1 to n
{% with ''|center:n as range %} {% for _ in range %} {{ forloop.counter }} {% endfor %} {% endwith %}