From e7208f13c0448387e56c340eed46e1ed9ef9997e Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Jan 2021 10:14:57 +0100 Subject: Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per deprecation timeline. --- docs/ref/templates/builtins.txt | 9 --------- docs/releases/4.0.txt | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'docs') 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. -- cgit v1.3