flask.Blueprint.app_template_filter¶
-
Blueprint.app_template_filter(name=None)[source]¶ Register a custom template filter, available application wide. Like
Flask.template_filter()but for a blueprint.Parameters: name – the optional name of the filter, otherwise the function name will be used.