How do you simply loop x times within a template (Django)
?
I know that when I'm looping over a list I can do...
{% for i in list %}
But I have a variable called 'count_val'
all I want to do is loop the value of count_val...
Can someone help make the following work...
count_val = 5
{{ loop count_val }}
I'm {{ forloop.counter }}!
{{ endfor }}
Thanks