[Answer]-Django templates variable issue

1👍

You can iterate over list in a template like this:

{% for name in names %}
    {{ name }}
{% endfor %}

Read more about the for template tag.

Leave a comment