Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Make jinja_options a dict rather than ImmutaleDict#3190

Merged
davidism merged 2 commits intopallets:masterfrom
EtiennePelletier:jinja2-977
May 18, 2019
Merged

Make jinja_options a dict rather than ImmutaleDict#3190
davidism merged 2 commits intopallets:masterfrom
EtiennePelletier:jinja2-977

Conversation

@EtiennePelletier
Copy link
Contributor

@EtiennePelletierEtiennePelletier commentedMay 7, 2019
edited
Loading

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 (includingpallets/jinja#997)

EtiennePelletierand others added2 commitsMay 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
@davidismdavidism added this to the1.1.0 milestoneMay 18, 2019
@davidismdavidism merged commitd0bfb06 intopallets:masterMay 18, 2019
@EtiennePelletierEtiennePelletier deleted the jinja2-977 branchMay 20, 2019 17:43
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsNov 14, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

1.1.0

Development

Successfully merging this pull request may close these issues.

2 participants

@EtiennePelletier@davidism

[8]ページ先頭

©2009-2026 Movatter.jp