Django templates condition check
Not as shown. Use the ifequal and with template tags instead.
All,
Can t we do the following in templates
{% if subject.id == selected_id %}
and also cannot we assign variable like {{selected="selected"}}
Thank........