mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-19 13:01:09 +00:00
Add additional config options to DOTENV while retaining compatibility with the old way of setting it
12 lines
266 B
Python
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")
|