[Fixed]-How to use variable from looping as dictionary key in Django template?

1👍

According to this documentation page : https://docs.djangoproject.com/en/1.9/ref/templates/builtins/#for this should work as you wish :

{% for key, value in data.items %}
    {{ value }} <br />
{% endfor %}

Leave a comment