Loop through a list
- Answer
{% for x in some_list %}
Item {{ x }}
{% endfor %}
This question is one of 13 in Django template tags and filters. Test yourself on all of them.
Practice quiz FlashcardsLog in to add an explanation.
Advertisement
{% for x in some_list %}
Item {{ x }}
{% endfor %}
This question is one of 13 in Django template tags and filters. Test yourself on all of them.
Practice quiz FlashcardsLog in to add an explanation.
Advertisement