Skip to content
/ django Public

Fixed #36201 -- Fixed ModelChoiceField/ModelMultipleChoiceField.clean() to catch ValidationError from queryset operations.#19200

Merged
sarahboyce merged 1 commit intodjango:mainfrom
JaeHyuckSa:issue-36201
Mar 10, 2025
Merged

Fixed #36201 -- Fixed ModelChoiceField/ModelMultipleChoiceField.clean() to catch ValidationError from queryset operations.#19200
sarahboyce merged 1 commit intodjango:mainfrom
JaeHyuckSa:issue-36201

Conversation

@JaeHyuckSa
Copy link
Contributor

@JaeHyuckSa JaeHyuckSa commented Feb 20, 2025

Trac ticket number

ticket-36201

Branch description

@sarahboyce Thank you for providing the test code for this ticket.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

@JaeHyuckSa JaeHyuckSa force-pushed the issue-36201 branch 2 times, most recently from daf5ef7 to 17e022d Compare March 8, 2025 15:42
…pleChoiceField.clean().

Signed-off-by: saJaeHyukc <wogur981208@gmail.com>
Copy link
Contributor

@sarahboyce sarahboyce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you both!

@sarahboyce sarahboyce merged commit f480d5d into django:main Mar 10, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants