mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Fix issue with packages form when submitting unchecked options
This commit is contained in:
parent
18908f72ea
commit
18464c963d
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user