1👍
✅
You are iterating over a list within a list, yet you are trying to access indices of an item within a list within a list.
Remove the “secitem” loop and access indices of item
OR simply iterate over the item
.
{% for row in matrix %}
<tr>
{% for value in row %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
Source:stackexchange.com