add new config pattern for database URI and overrides
This commit is contained in:
parent
92e65e7595
commit
41135d0b2f
@ -79,6 +79,10 @@ def make_config():
|
|||||||
config = ConfigParser()
|
config = ConfigParser()
|
||||||
config.optionxform = str
|
config.optionxform = str
|
||||||
|
|
||||||
|
config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME]
|
||||||
|
if OVERRIDE_CONFIG_FILENAME:
|
||||||
|
config_files.append(OVERRIDE_CONFIG_FILENAME)
|
||||||
|
|
||||||
config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME]
|
config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME]
|
||||||
if OVERRIDE_CONFIG_FILENAME:
|
if OVERRIDE_CONFIG_FILENAME:
|
||||||
config_files.append(OVERRIDE_CONFIG_FILENAME)
|
config_files.append(OVERRIDE_CONFIG_FILENAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user