initialization.template_filters#

Functions#

init_template_filters(app)

Main entry point of the module.

Module Contents#

initialization.template_filters.init_template_filters(app)[source]#

Main entry point of the module.

Imports a number of helper functions that live in app.view.filters and plugs them into Jinja2 as “filters”.

New template filters should be defined there and linked here, to avoid non-trivial (testable) code living in the “initialization” module.