summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-04-22 16:55:59 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-07-23 12:36:21 +0200
commit4d4bf55e0ea849476f7e3abfeb018c338f18a9b4 (patch)
tree3eef7f8e90252c2f4f2c7ca9a07992af005e1744 /docs/ref/templates
parent2fac0a18081dcc77fc860c801e5d727dc90435b3 (diff)
downloaddjango-4d4bf55e0ea849476f7e3abfeb018c338f18a9b4.tar.gz
Fixed #33864 -- Deprecated length_is template filter.
Diffstat (limited to 'docs/ref/templates')
-rw-r--r--docs/ref/templates/builtins.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index c4b83a8be8..13a8694ad6 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1906,6 +1906,8 @@ The filter returns ``0`` for an undefined variable.
``length_is``
-------------
+.. deprecated:: 4.2
+
Returns ``True`` if the value's length is the argument, or ``False`` otherwise.
For example::