1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per deprecation timeline.

This commit is contained in:
Mariusz Felisiak
2021-01-14 10:14:57 +01:00
parent 2dd6a83d2d
commit e7208f13c0
6 changed files with 4 additions and 362 deletions

View File

@@ -608,15 +608,6 @@ you should use::
{% if a > b and b > c %}
``ifequal`` and ``ifnotequal``
------------------------------
.. deprecated:: 3.1
``{% ifequal a b %} ... {% endifequal %}`` is an obsolete way to write
``{% if a == b %} ... {% endif %}``. Likewise, ``{% ifnotequal a b %} ...
{% endifnotequal %}`` is superseded by ``{% if a != b %} ... {% endif %}``.
.. templatetag:: ifchanged
``ifchanged``

View File

@@ -321,3 +321,5 @@ to remove usage of these features.
``django.contrib.postgres.fields.jsonb.KeyTextTransform`` are removed.
* ``django.contrib.postgres.forms.JSONField`` is removed.
* The ``{% ifequal %}`` and ``{% ifnotequal %}`` template tags are removed.