X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..116ce833f4ff761db288866564e430f7d2bae86d:/src/catalogue/forms.py?ds=inline diff --git a/src/catalogue/forms.py b/src/catalogue/forms.py index 53d69c15f..405ea7c48 100644 --- a/src/catalogue/forms.py +++ b/src/catalogue/forms.py @@ -76,7 +76,7 @@ class CustomPDFForm(forms.Form): for name, label in CUSTOMIZATION_FLAGS: self.fields[name] = forms.BooleanField(required=False, label=label) for name, label, choices in CUSTOMIZATION_OPTIONS: - self.fields[name] = forms.ChoiceField(choices, required=False, label=label) + self.fields[name] = forms.ChoiceField(choices=choices, required=False, label=label) def clean(self): self.cleaned_data['cust'] = self.customizations