diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-14 10:14:57 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-14 17:50:04 +0100 |
| commit | e7208f13c0448387e56c340eed46e1ed9ef9997e (patch) | |
| tree | 93afdd52adc4d38a1e98c68d3f63f024384205d0 /docs | |
| parent | 2dd6a83d2d7c61321ac4a9b10fbf3c379cb305c3 (diff) | |
Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 9 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index d431a9bc42..1dd554aa13 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -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`` diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index c8b3f0332f..0dd1a3d91a 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -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. |
