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:
@@ -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``
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user