Skip to content

Conversation

@EtiennePelletier
Copy link
Contributor

@EtiennePelletier EtiennePelletier commented May 7, 2019

This allows changing jinja environment options from the flask app:

app.jinja_options['undefined'] = jinja2.ChainableUndefined

The above example will be valid when Jinja2 v2.11 will be released (including pallets/jinja#997)

EtiennePelletier and others added 2 commits May 18, 2019 05:31
This allows changing jinja environment options from the flask app:
>>> app.jinja_options['undefined'] = jinja2.ChainableUndefined
clarify docs about when jinja_options can be modified
@davidism davidism added this to the 1.1.0 milestone May 18, 2019
@davidism davidism merged commit d0bfb06 into pallets:master May 18, 2019
@EtiennePelletier EtiennePelletier deleted the jinja2-977 branch May 20, 2019 17:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants