Answer the question
In order to leave comments, you need to log in
How to output through templates a sheet in a sheet in django?
In the context of the page, a list is supplied by type
. How can it be parsed correctly in html?
{{ list[0][0] }}
- does not work
{% for v in list %}
{% for i in v %}
i
{% endif %}
{% endif %}
- doesn't work either
Answer the question
In order to leave comments, you need to log in
{{ list.0.0 }}
or
{% for v in list %}
{% for i in v %}
{{ i }}
{% endif %}
{% endif %}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question