updated docs

This commit is contained in:
Ilya Puchka
2018-08-04 20:19:50 +01:00
parent 2c411ca494
commit e795f052ea

View File

@@ -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.