Removed in Django 4.0
The ifnotequal tag was deprecated in Django 3.1 and removed in Django 4.0.
Use {% if a != b %} instead.
The ifnotequal tag compared two values and displayed the contents of the block if they were not equal.
Old Syntax (No Longer Works)
{% ifnotequal user.username "admin" %}
You are not the admin.
{% endifnotequal %}
New Syntax
{% if user.username != "admin" %}
You are not the admin.
{% endif %}

Commentary
This tag no longer exists. Use the
iftag with the!=operator instead.