26๐
โ
-
What(where) is the root part of the project, is it part of the project where are settings?
- Where your
manage.py
file is (that is your project root directory).
- Where your
-
What kind of file should .env be? (python package I suppose)
.env
is a text file not a package.
-
Should name of the file be simply .env (or something.env)?
- Just
.env
- Just
-
Is .env file going to be imported in settings file?
- No need to import,
python-decouple
automatically picks variables from there.
- No need to import,
Read more about Where the settings data are stored? and Usage of python-decouple
.
๐คAamir Rind
Source:stackexchange.com