[Answer]-A simple for in statement causes an error

1👍

The Django template language does not support literal lists. Either pass it in from the view, or use the make_list filter on a string:

{% for x in "123"|make_list %}

Leave a comment