It is possible to modify variables using filters. Filters are separated from the variable by a pipe symbol |
, and may have optional arguments in parentheses.
For example:
{{ data.name|upper }}
{{ data.some_field|safe }}
Multiple filters can be chained (for example, data.name|upper|safe
).
See List of Builtin Filters for possible filters.