How to set up environment variables in Django
Read moreWhere is the .env file in Python?
env file in the current working directory or any parent directories however you can also specify the path if your particular use case requires it be stored elsewhere.
Read moreWhat is Django env?
django-env-overrides lets you quickly adjust an existing Django app to load arbitrary settings from environment variables . It uses django-environ to parse settings from the environment, but allows override of arbitrary settings without specific changes to settings.py .
Read more