GET Endpoint - Serializer - Nested Objects - Error #8388
Unanswered
mkeller3
asked this question in
Potential Issue
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 am trying to add a nested serializer to a serializer used on a GET endpoint but it is not being picked up.
Serializers:
Class:
Request URL:
/api/table_values/?table=test&column=test&user=test
If I print
request.GET
I see the following:<QueryDict: {'table': ['test'], 'column': ['test'], 'user': ['test']}>
When the data is ran thru the serializer it returns this:
{}
The error returned if serializer.is_valid
raise_exception
is set to True is:Even though I am passing a user parameter why would it say that I did not within the serializer.
Beta Was this translation helpful? Give feedback.
All reactions