File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66#. **Can django-environ determine the location of .env file automatically? **
77
8- django-environ will try to get and read ``.env `` file from the project
9- root if you haven't specified the path for it when call :meth: `.environ.Env.read_env `.
8+ `` django-environ `` will try to get and read ``.env `` file from the project
9+ root if you haven't specified the path for it when you call :meth: `.environ.Env.read_env `.
1010 However, this is not the recommended way. When it is possible always specify
11- the path tho ``.env `` file. Alternatively, you can use a trick with a
11+ the path to the ``.env `` file. Alternatively, you can use a trick with an
1212 environment variable pointing to the actual location of ``.env `` file.
1313 For details see ":ref: `multiple-env-files-label `".
1414
15- #. **What (where) is the root part of the project, is it part of the project where are settings? **
15+ #. **What (where) is the root part of the project, is it the directory that contains settings.py file ? **
1616
1717 Where your ``manage.py `` file is (that is your project root directory).
1818
You can’t perform that action at this time.
0 commit comments