mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Add additional config options to DOTENV while retaining compatibility with the old way of setting it
12 lines
263 B
Python
12 lines
263 B
Python
from configurations import Configuration, values
|
|
|
|
|
|
class DotEnvConfiguration(Configuration):
|
|
|
|
DOTENV = {
|
|
'path': 'some_nonexistant_path',
|
|
'override': True,
|
|
'required': False,
|
|
}
|
|
|
|
DOTENV_OVERRIDE = values.Value("Not overridden")
|