From 11195f10838d84df0c5ab7158a99bbb94e34fc5a Mon Sep 17 00:00:00 2001 From: David Lord Date: Wed, 4 May 2022 06:03:31 -0700 Subject: [PATCH] remove outdated dotenv docs The CLI does not change the working directory when loading a dotenv file. --- docs/cli.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/cli.rst b/docs/cli.rst index 4b40307e..3be3aaa6 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -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