jinja2.environmentfilter

jinja2.environmentfilter(f)[source]

Decorator for marking evironment dependent filters. The current Environment is passed to the filter as first argument.