With Jinja2, how can I do an iteration, like the following with django and not Jinja, for example:
{% for key,value in location_map_india.items %} {{value.name}} {% endfor %}
The above is valid django, but with Jinja2 it returns an error message
TypeError: object 'builtin_function_or_method' is not iterated
Thanks for any advice.
source share