Module askama::filters [] [src]

Module for built-in filter functions

Contains all the built-in filter functions for use in templates. Currently, there is no way to define filters outside this module.

Functions

e

Alias for the escape() filter

escape

Escapes &, < and > in strings

format

Formats arguments according to the specified format

lower

Converts to lowercase.

lowercase

Alias for the lower() filter.

trim

Strip leading and trailing whitespace.

upper

Converts to uppercase.

uppercase

Alias for the upper() filter.