Fix empty value for rating

This commit is contained in:
Stefan Wehrmeyer 2022-03-23 13:14:38 +01:00
parent 0a0e162910
commit 0f1edb3d18

View file

@ -105,7 +105,7 @@ class GovernmentPlanUpdateProposalForm(forms.ModelForm):
help_text=_("What's your rating of the current implementation?"), help_text=_("What's your rating of the current implementation?"),
choices=[("", "---")] + PlanRating.choices, choices=[("", "---")] + PlanRating.choices,
coerce=int, coerce=int,
empty_value="", empty_value=None,
required=False, required=False,
) )