Skip to content
Myr

remove outdated dotenv docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The CLI does not change the working directory when loading a dotenv file.

authored by David Lord · committed by GitHub · parent 2482cd4 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:docs/cli.rst+1 added-3 removed
297 unmodified lines
298used for public variables, such as ``FLASK_APP``, while :file:`.env` should not299be committed to your repository so that it can set private variables.300301Directories are scanned upwards from the directory you call ``flask``302from to locate the files. The current working directory will be set to the303location of the file, with the assumption that that is the top level project304directory.302from to locate the files.303304The files are only loaded by the ``flask`` command or calling305:meth:`~Flask.run`. If you would like to load these files when running in306production, you should call :func:`~cli.load_dotenv` manually.
412 unmodified lines