APPLICATION_ROOT defaults to '/'

This commit is contained in:
David Lord 2017-05-28 14:08:53 -07:00
parent 60feecc26c
commit 4a53840df0
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
4 changed files with 9 additions and 6 deletions

View file

@ -49,6 +49,7 @@ Major release, unreleased
work with the ``flask`` command. If they take a single parameter or a
parameter named ``script_info``, the ``ScriptInfo`` object will be passed.
(`#2319`_)
- FLASK_APP=myproject.app:create_app('dev') support.
- ``FLASK_APP`` can be set to an app factory, with arguments if needed, for
example ``FLASK_APP=myproject.app:create_app('dev')``. (`#2326`_)
- ``View.provide_automatic_options = True`` is set on the view function from
@ -59,6 +60,8 @@ Major release, unreleased
accessed at all during the request (and it wasn't deleted). (`#2288`_)
- ``app.test_request_context()`` take ``subdomain`` and ``url_scheme``
parameters for use when building base URL. (`#1621`_)
- Set ``APPLICATION_ROOT = '/'`` by default. This was already the implicit
default when it was set to ``None``.
.. _#1489: https://github.com/pallets/flask/pull/1489
.. _#1621: https://github.com/pallets/flask/pull/1621