Features: 1) Add "required: False" option to JSON custom field;

Fixes: None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-06-16 12:11:26 +03:00
parent c950ce04b9
commit 0da8bd77b0

View file

@ -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",
}],
}