Features: 1) Add "required: False" option to JSON custom field;
Fixes: None; Extra: None;
This commit is contained in:
parent
c950ce04b9
commit
0da8bd77b0
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ CONSTANCE_BACKEND = "constance.backends.database.DatabaseBackend" # Or "constan
|
|||
|
||||
CONSTANCE_ADDITIONAL_FIELDS = {
|
||||
"json": ["django.forms.fields.JSONField", {
|
||||
"required": False,
|
||||
"widget": "core.widgets.JSONTableWidget",
|
||||
}],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue