Open julien-bayle opened 4 years ago
The import is made by hobo: http://git.entrouvert.org/hobo.git/tree/debian/debian_config_settings_d.py#n4
The env.py
file needs to be imported first so that we can easily override settings in custom.py
.
For instance, I define here database connection properties but I need to remove them for wcs : https://github.com/Vayel/publik-docker/blob/master/components/wcs.settings.py#L15
Objective : no pyenv file into /home directory Instead of importing pyenv conf into app config, use two separate config files
Now (for combo) : /home/pyenv.py
After : etc/combo/settings.d/env.py (ex pyenv.py) etc/combo/settings.d/custom.py (no import from pyenv.py)