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 %}
Source:stackexchange.com