def configure_template_filters(app):
 app.jinja_env.filters['pretty_date'] = pretty_date
 app.jinja_env.filters['format_date'] = format_date
 app.jinja_env.filters['nl2br'] = nl2br

def configure_template_filters ( app ) : app . jinja_env . filters [ 'pretty_date' ] = pretty_date app . jinja_env . filters [ 'format_date' ] = format_date app . jinja_env . filters [ 'nl2br' ] = nl2br
configure filters .