I have a for loop in a Django template:
{% for i in no_of_lift_series_range %}
{{ workout.lifts.series.i.activity_name }}
{% endfor %}
where this fails to output anything. The problem lies in the use of i. I know this, because this:
{% for i in no_of_lift_series_range %}
{{ workout.lifts.series.0.activity_name }}
{% endfor %}
outputs what it is supposed to output. Why can't I use i in the way I want and how do I make this work?
workout.lifts.series?forloop.counter0docsforloop.counter0cannot be used since I neediin order to do numeric index acces with it, which doesn't seem possible in django templates