mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Add DictValue example
This commit is contained in:
parent
601d52218a
commit
b9648bddb3
1 changed files with 4 additions and 0 deletions
|
|
@ -353,6 +353,10 @@ Type values
|
|||
DEPARTMENTS = values.DictValue({
|
||||
'it': ['Mike', 'Joe'],
|
||||
})
|
||||
|
||||
Override using environment variables like this::
|
||||
|
||||
DJANGO_DEPARTMENTS={'it':['Mike','Joe'],'hr':['Emma','Olivia']}
|
||||
|
||||
Validator values
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
Loading…
Reference in a new issue