diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-12 21:34:40 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-18 22:12:40 +0200 |
| commit | 14ef92fa9e87a77cd3642235387e6f683048046b (patch) | |
| tree | 5570548f8b6e32fb3ececb32a75a3aac8a0973b0 /docs | |
| parent | 2abf417c815c20f41c0868d6f66520b32347106e (diff) | |
Refs #33864 -- Removed length_is template filter per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 18 | ||||
| -rw-r--r-- | docs/releases/5.1.txt | 2 |
2 files changed, 2 insertions, 18 deletions
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`` diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index c8d6f5f3f6..c6c4e2217d 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -254,3 +254,5 @@ to remove usage of these features. * The ``BaseUserManager.make_random_password()`` method is removed. * The model's ``Meta.index_together`` option is removed. + +* The ``length_is`` template filter is removed. |
