From 019d0cca76dbb727620799f4ebecc6d207bf64f2 Mon Sep 17 00:00:00 2001 From: Ilya Puchka Date: Mon, 1 Oct 2018 22:16:43 +0100 Subject: [PATCH] updated docs --- docs/builtins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/builtins.rst b/docs/builtins.rst index ad9a8bd..fe78c6e 100644 --- a/docs/builtins.rst +++ b/docs/builtins.rst @@ -389,10 +389,10 @@ Filter accepts several arguments: ``filter`` ~~~~~~~~~ -Applies filter by its name, provided as an argument. +Applies the filter with the name provided as an argument to the current expression. .. code-block:: html+django {{ string|filter:myfilter }} -This expression will resolve `myfilter` variable and will apply filter with such name to `string` variable. +This expression will resolve the `myfilter` variable, find a filter named the same as resolved value, and will apply it to the `string` variable. I.e. if `myfilter` variable resolves to string `uppercase` this expression will apply file `uppercase` to `string` variable.