django template dictionary iterate item list 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 %}