Template filters

In addition to the built-in template filters provided by Mako, the following filters are by default made available in templates:

If you wish to provide additional filters without having to explicitly define or import them in templates, the best way of doing this his to add them via the mako_imports setting in wmk_config.yaml (see above).

Please note that in order to avoid conflicts with the above filters you should not place a file named wmk_mako_filters.py in your py/ directories.