for this dictionary with this Flask controller
projects = {
\'life-calc\':{\'url\':\'life-calc\',
\'title\': \'Life Calculator\'}
I think you want to know how access the nested dict in template
If you think I got your question
Generally, This is the way to access the nested dictionary items in dictionary.
forloop
depth level whether it is list or dict.Here I am giving just a generic example in my own way for your understanding
parent_dict = {1: {'A':'val1','B':'val2'}, 2:{'C':'val3','D':'val4'}}
{% for key,parent_dict_item in parent_dict.items() %}
{% for key2, nested_value in parent_dict_item.items() %}
- {{ nested_value }}
{% endfor %}
{% endfor %}
- val1
- val2
- val3
- val4