How to increment a variable on a for loop in jinja template?
<p>I would like to do something like:</p>

<p>variable p is from test.py wich is a list ['a','b','c','d']</p>

<pre><code>{% for i in p %}
{{variable++}}
{{variable}}
</code></pre>

<p>result output is:
1 2 3 4</p>
