From e795f052eaf0bb54a725dbee8a836d1c40effa3c Mon Sep 17 00:00:00 2001 From: Ilya Puchka Date: Sat, 4 Aug 2018 20:19:50 +0100 Subject: [PATCH] updated docs --- docs/builtins.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/builtins.rst b/docs/builtins.rst index d4cc99a..de23ac9 100644 --- a/docs/builtins.rst +++ b/docs/builtins.rst @@ -373,3 +373,13 @@ Filter accepts several arguments: * indentation character: character to be used for indentation. Default is a space. * indent first line: whether first line of output should be indented or not. Default is ``false``. +``filter`` +~~~~~~~~~ + +Applies filter by its name, provided as an argument. + +.. code-block:: html+django + + {{ string|filter:myfilter }} + +This expression will resolve `myfilter` variable and will apply filter with such name to `string` variable.