{% for item in item_list %} {{ forloop.counter }} # starting index 1 {{ forloop.counter0 }} # starting index 0 # do your stuff {% endfor %} stackoverflow.com/questions/11481499/django-iterate-number-in-for-loop-of-a-template Django - iterate number in for loop of a template I have the following for loop in my django template displaying days. I wonder, whether it's possible to iterate a number (i..