jinja2.contextfilter

jinja2.contextfilter(f)[source]

Decorator for marking context dependent filters. The current Context will be passed as first argument.