Fix issue with packages form when submitting unchecked options

This commit is contained in:
Sunil Mohan Adapa 2014-05-12 12:59:18 +05:30
parent 18908f72ea
commit 18464c963d

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):