Answer the question
In order to leave comments, you need to log in
How to display dictionaries in a template?
How to display nested dictionaries in a template?
Vocabulary:
users = {0: {'likes': 1, 'first_name': 'Алена', 'id': 92812055, 'hidden': 1}}
{% for items in users %}
{{ items.last_name }}
{{ items.likes }} лайков
{% endfor %}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question