Nested ModelSerializer won't validate: Expected a dictionary #8512
Answered
by
rvanlaar
rvanlaar
asked this question in
Question & Answer
-
A non model serializer with a nested model serializer doesn't validate. It expects a dictionary. The end goal is to show all answers with a little bit of meta data.
|
Beta Was this translation helpful? Give feedback.
Answered by
rvanlaar
Jun 3, 2022
Replies: 1 comment 1 reply
-
The solution is to enter the data without the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rvanlaar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The solution is to enter the data without the
data=
part.