Select the database to be serialized in nesting #8083
Unanswered
cn-kali-team
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
-
Is there any way to choose which database to use before serialization? My program is very complicated. How to set up the database of
UserSerializer
in nested serialization? I know that the database ofCommentSerializer
can be set up usingget_queryset
, but I can't setUserSerializer
Beta Was this translation helpful? Give feedback.
All reactions