From views.py I send to template 2 array:
- animal:
['cat','dog','mause']
- how_many:
['one','two','three']
Template:
{% for value in animal %}
animal:{{ value }} \ how meny {{ how_many[(forloop.counter0)] }}
{% endfor %}
In the for loop I want to read an iteration and then use it in a second array, but I can't get it to work. I'm a beginner.