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.
Constants
BUILT_IN_FILTERS |
Functions
e |
Alias for the |
escape |
Escapes |
format |
Formats arguments according to the specified format |
join |
Joins iterable into a string separated by provided argument |
json |
Serialize to JSON (requires |
lower |
Converts to lowercase. |
lowercase |
Alias for the |
safe | |
trim |
Strip leading and trailing whitespace. |
upper |
Converts to uppercase. |
uppercase |
Alias for the |