1👍
✅
Since customer_data
is a dictionary, you can just send 'customer_data': customer_data
instead of 'customer_data': customer_data.iteritems()
in the context.
Now in the template, try this:
{% for key, value in customer_data.items %}
<p>{{ key }}</p>
{% for k, v in value.items %}
{{ k }}: {{ v }} <br/>
{% endfor %}
{% endfor %}
Source:stackexchange.com