diff --git a/elections/forms.py b/elections/forms.py index 9487a16..f8d5a81 100644 --- a/elections/forms.py +++ b/elections/forms.py @@ -81,6 +81,7 @@ class VoteForm(forms.ModelForm): class Meta: model = Option fields = [] + exclude = ["voters"] OptionFormSet = inlineformset_factory(