mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix issue with packages form when submitting unchecked options
This commit is contained in:
1 parent
18908f72ea
commit
18464c963d
1 file changed
+2
-1
@@ -40,7 +40,8 @@ class PackagesForm(forms.Form):
|
||||
|
||||
for module in modules_available:
|
||||
label = _('Enable {module}').format(module=module)
|
||||
self.fields[module + '_enabled'] = forms.BooleanField(label=label)
|
||||
self.fields[module + '_enabled'] = forms.BooleanField(
|
||||
label=label, required=False)
|
||||
|
||||
|
||||
class Packages(PagePlugin):
|
||||
|
||||
Reference in new issue
Block a user