{% for col in columns %} {% endfor %} {% load tags %} {% for row in rows %} {% for col in columns %} {% endfor %} {% endfor %}
Counterparty{{ col }}
{{row.name}}{{ row | _getitem:col }}