How to create custom multi-level serializer? #7891
Unanswered
skasidej
asked this question in
Question & Answer
Replies: 1 comment
-
you can check this package https://github.com/beda-software/drf-writable-nested |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Let's say I want to create a custom serializer for a complex multi-level json request. How am I suppose to do it in the correct way?
For example this request body are using the same serializer for address details, but how should I create serializer for the locale schema part?
address: { **address_detail, locale: { th: { **address_detail } } }
Beta Was this translation helpful? Give feedback.
All reactions