Easily manage your python application settings for different environments
Consider following file structure somewhere in your python application:
- local_env.py # required by env.py
What `env.py` does is, it allows you to define different environment custom settings
inside files named `$env_settings.py`. Then, inside `local_env.py` define
current environment like `ENV='prod'`.
At the top or at the bottom of `settings.py` based upon how you use `env.py`, use as:
`from env import *`
This will configure your application for your current `ENV` custom settings along with common `settings.py`
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.