django__django-13933
ModelChoiceField does not provide value of invalid choice when raising ValidationError
Verdict: the fix is stated in the issue (Tier A).
Passing in parameters with the invalid value and modifying the default error message for the code invalid_choice should fix this.
The text states the fix: “Passing in parameters with the invalid value and modifying the default error message for the code invalid_choice should fix this.”
All SWE-bench Verified tasks · more django/django tasks · How the check works