ifequal Tag


Argument(s): values to compare.


The ifequal and ifnotequal tags are deprecated in Django 3.1. Use {% if a == b %} and {% if a != b %} instead.


Do not use.

Did we get something wrong? Is there a use case for the ifequal tag that we should add? Please let us know.

Send Feedback

Official Documentation
This page last updated on Oct. 30, 2022, 1:22 p.m. EST