how to increment value of a variable in a template..??
{% for s in list%}
{% for subject in s%}
{% for sub in subject %}
<div id="{{ sub| getid:i }}"></div>
# here i want to increment the value of i
{% endfor %}
{% endfor %}
{% endfor %}