From 14ef92fa9e87a77cd3642235387e6f683048046b Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 12 Sep 2023 21:34:40 +0200 Subject: Refs #33864 -- Removed length_is template filter per deprecation timeline. --- docs/ref/templates/builtins.txt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 4798663bf0..e0e06dafe8 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2161,24 +2161,6 @@ If ``value`` is ``['a', 'b', 'c', 'd']`` or ``"abcd"``, the output will be The filter returns ``0`` for an undefined variable. -.. templatefilter:: length_is - -``length_is`` -------------- - -.. deprecated:: 4.2 - -Returns ``True`` if the value's length is the argument, or ``False`` otherwise. - -For example: - -.. code-block:: html+django - - {{ value|length_is:"4" }} - -If ``value`` is ``['a', 'b', 'c', 'd']`` or ``"abcd"``, the output will be -``True``. - .. templatefilter:: linebreaks ``linebreaks`` -- cgit v1.3