Opened 5 years ago
Last modified 5 years ago
#31138 closed Uncategorized
Question on template render — at Initial Version
Description ¶
Django version 3.0.2
j = {{'a': '1', 'b': '2', 'c': '3'}}
when
return render(request,"index.html",{'json':j})
{% for item in json %} {% for column in item %} {{ item.column }} {% endfor %} {% endfor %}
Why render template cant find/print item.column content?
I need really change this in views.py?
Note:
See TracTickets
for help on using tickets.