Answers for "iterating through a dictionary in jinja template"

2

jinja2 iterate dict

{% for key, value in dict_item.items() %}
  <h1>Key: {{key}}</h1>
  <h2>Value: {{value}}</h2>
{% endfor %}
Posted by: Guest on July-05-2020

Code answers related to "iterating through a dictionary in jinja template"

Browse Popular Code Answers by Language