iterating dictionary in django template code example
Example: iterate over dictionary django
{% for key, value in data.items %}
<tr>
<td> Key: {{ key }} </td>
<td> Value: {{ value }} </td>
</tr>
{% endfor %}
{% for key, value in data.items %}
<tr>
<td> Key: {{ key }} </td>
<td> Value: {{ value }} </td>
</tr>
{% endfor %}