use dict literal syntax for jinja_options

clarify docs about when jinja_options can be modified
This commit is contained in:
David Lord 2019-05-18 08:35:47 -07:00
parent af3c24c7df
commit 957f48a98d
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 27 additions and 12 deletions

View file

@ -4,8 +4,8 @@ Flask Changelog
===============
Version 1.1
-----------
Version 1.1.0
-------------
Unreleased
@ -24,6 +24,9 @@ Unreleased
the same thing as "r". :issue:`3163`
- The :attr:`MethodView.methods` attribute set in a base class is used
by subclasses. :issue:`3138`
- :attr:`Flask.jinja_options` is a ``dict`` instead of an
``ImmutableDict`` to allow easier configuration. Changes must still
be made before creating the environment. :pr:`3190`
.. _#2935: https://github.com/pallets/flask/issues/2935
.. _#2957: https://github.com/pallets/flask/issues/2957