mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per deprecation timeline.
This commit is contained in:
parent
2dd6a83d2d
commit
e7208f13c0
6 changed files with 4 additions and 362 deletions
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue