reconfigure the app from run command and method

extract templates_auto_reload to property
continues #1910
closes #1907
This commit is contained in:
David Lord 2017-06-14 12:08:25 -07:00
parent 9e39c506e0
commit 4fc48200a5
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 60 additions and 10 deletions

View file

@ -79,6 +79,8 @@ Major release, unreleased
- Removed error handler caching because it caused unexpected results for some
exception inheritance hierarchies. Register handlers explicitly for each
exception if you don't want to traverse the MRO. (`#2362`_)
- Template auto reloading will honor the ``run`` command's ``debug`` flag even
if ``app.jinja_env`` was already accessed. (`#2373`_)
.. _#1489: https://github.com/pallets/flask/pull/1489
.. _#1621: https://github.com/pallets/flask/pull/1621
@ -102,6 +104,7 @@ Major release, unreleased
.. _#2354: https://github.com/pallets/flask/pull/2354
.. _#2358: https://github.com/pallets/flask/pull/2358
.. _#2362: https://github.com/pallets/flask/pull/2362
.. _#2373: https://github.com/pallets/flask/pull/2373
Version 0.12.2
--------------