Like I asked in the title, I wanna do something like the below in Django.
{% for i in "xxxxx" %}
{% if store{{ forloop.counter }} %}
...
{% endif %}
{% endfor %}
I pass variables named 'store1', 'store2', and 'store3' from views.py
However, an error happens saying
"Could not parse the remainder: '{{' from 'store{{'"
, which seems like {{ }} can't be used inside {% %}
Does anyone know how to do this?