[Answered ]-{% if {club.c_type} == 'Tech' %} is giving error Code is working perfectly without it. Want to filter data on basis or Tech and Non Tech in same Page 29 December 2023 by thecoderscamp.com 1👍 ✅ It should only be: {% if club.c_type == 'Tech' %} SOME CODE {% endif %} 👤Sunderam Dubey [Answered ]-Django Modelformset Source:stackexchange.com