My view code looks basically like this:
context = Context() context[\'my_dict\'] = {\'a\': 4, \'b\': 8, \'c\': 15, \'d\': 16, \'e\': 23, \'f\': 42 } context
Try this to display the keys and values of the dictionary:
{% for key, value in your_dict.items %} {{ key }}: {{ value }} {% endfor %}
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#for