django-configurations/tests/settings/dot_env_dict.py
P1roks bc11925cdd make DOTENV setting more robust
Add additional config options to DOTENV while retaining compatibility with the old way of setting it
2024-11-11 22:32:29 +01:00

12 lines
266 B
Python

from configurations import Configuration, values
class DotEnvConfiguration(Configuration):
DOTENV = {
'path': 'test_project/.env',
'override': True,
}
DOTENV_VALUE = values.Value()
DOTENV_OVERRIDE = values.Value("Not overridden")