forked from orbit-oss/flask
with_appcontext lasts for the lifetime of the click context
This commit is contained in:
parent
ae547270e9
commit
c9e000b9ce
6 changed files with 65 additions and 26 deletions
|
|
@ -33,6 +33,9 @@ Unreleased
|
|||
- Add ``--env-file`` option to the ``flask`` CLI. This allows
|
||||
specifying a dotenv file to load in addition to ``.env`` and
|
||||
``.flaskenv``. :issue:`3108`
|
||||
- It is no longer required to decorate custom CLI commands on
|
||||
``app.cli`` or ``blueprint.cli`` with ``@with_appcontext``, an app
|
||||
context will already be active at that point. :issue:`2410`
|
||||
|
||||
|
||||
Version 2.1.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue