Я понятия не имею, почему я получаю «Результат False» Что не так с кодом?Django if/else tag
x = True
t = Template("""
{% if x %}
The result is True.
{% else %}
The result is False.
{% endif %}
""")
c = Context()
html = t.render(c)
return HttpResponse(html)
С уважением