jinja2.evalcontextfilter

jinja2.evalcontextfilter(f)[source]

Decorator for marking eval-context dependent filters. An eval context object is passed as first argument. For more information about the eval context, see Evaluation Context.

New in version 2.4.