Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

jinja 2 iterate over dictionary

s = "{% for key, value in dict_item.items() %}Key: {{key}} Value: {{value}}
{% endfor %}"
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #jinja #iterate #dictionary
ADD COMMENT
Topic
Name
2+9 =