Fix issue with packages form when submitting unchecked options

This commit is contained in:
Sunil Mohan Adapa committed 2014-05-12 12:59:18 +05:30
1 parent 18908f72ea
commit 18464c963d
1 file changed
+2 -1
+2 -1
View File
@@ -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):