views.py:
for i in range(1, 4): params[f"ct{i}"] = '<h1>ct'+i+ '</h1>'
index.html:
<h1>{{ct{{forloop.counter}} }}</h1>
Is there any way to use <h1>{{ct{{forloop.counter}} }}</h1> in My HTML File?
2.1m questions
2.1m answers
60 comments
57.0k users