I have to following scenario:
a python list of python dictionaries l = [a,b,c,...,n] each element of the list is a python dictionary that looks somethin
l = [a,b,c,...,n]
If anyone needs it:
{% for d in dicts %} {% set template = d.type + '.html' %} {% include template %} {% endfor %}
then in the template you can access the content like so:
{{ d.content }}
Thanks to donri from the #pocoo channel on freenode !