Django template rendering to itself -


I am trying to render the dictionary content using dengue templates such as for example: X in the result X It is

X = {a: 1, b: 1, c: X (Dictionary again X)}

Template: results.html, something like the following

  {{a}} {{b}} {% if Xa%} { % Result.html%} {% included}  

I thought this would work, but the issue It receives error in saying:

  Maximum recursive depth exceeded while calling the Python object  <

Get rid of X part in your dictionary X, you can not do this

You can include X or property twice in your template, so there is no need of nested self-references in your dictionary.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -