X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..75de44ecc913abf2424e0e94369517d253c70467:/src/catalogue/forms.py 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