Hi
I am trying to render the dictionary content using Django template like this
for example : result contain dictionary X
X={a:1,
b:1,
c:X(dictionary X again)
}
This could be any many places and at multiple levels
template : results.html, says something like following
{{a}}
{{b}}
{% if X.a %}
{% include results.html %}
{% endif %}
I thought that this would work but I get error saying
maximum recursion depth exceeded while calling a Python object
How could I resolve this?
Thank you