ifnotequal 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 ifnotequal tag that we should add? Please let us know.

Send Feedback

Official Documentation
This page last updated on March 6, 2021, 6:10 a.m. EST