Confused when delivering PrimaryKeyRelatedField to the Client #8016
Unanswered
AsheKR
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.
Uh oh!
There was an error while loading. Please reload this page.
-
in official document, it is confusing when using it with the client.
I don't know if the tracks will contain id or Object just by looking at the field name.
If change the
tracks
totrack_ids
, you get data usingvalidated_data.get('tracks_ids')
,which is confusing because the type of
track_ids
returns is the form ofList[Object]
. notList[int]
Can you tell me why you made this decision?
Beta Was this translation helpful? Give feedback.
All reactions