remove outdated dotenv docs

The CLI does not change the working directory when loading a dotenv file.
This commit is contained in:
David Lord 2022-05-04 06:03:31 -07:00 committed by GitHub
parent 2482cd4f53
commit 11195f1083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -299,9 +299,7 @@ used for public variables, such as ``FLASK_APP``, while :file:`.env` should not
be committed to your repository so that it can set private variables.
Directories are scanned upwards from the directory you call ``flask``
from to locate the files. The current working directory will be set to the
location of the file, with the assumption that that is the top level project
directory.
from to locate the files.
The files are only loaded by the ``flask`` command or calling
:meth:`~Flask.run`. If you would like to load these files when running in