Serializing ChoiceField doesn't validate the value #8032
Unanswered
qu3vipon
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I get to know that ChoiceField checks if the value is included with the given choices when saving data.
But the choice validation is skipped when serializing data.
Is there any reason for DRF is designed this way?
Beta Was this translation helpful? Give feedback.
All reactions