Skip to content

Commit c18b0dc

Browse files
authored
fix: django-constance: can't disable boolean setting (#1556)
1 parent 25995b0 commit c18b0dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unfold/contrib/constance/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"django.forms.BooleanField",
1616
{
1717
"widget": "unfold.widgets.UnfoldBooleanSwitchWidget",
18+
"required": False,
1819
},
1920
],
2021
"file_field": [

0 commit comments

Comments
 (0)