DRF: Simple foreign key assignment with nested serializers?
Updated on July 05 2020 This post is getting more attention and it indicates more people have a similar situation. So I decided to add a generic way to handle this problem. This generic way is best suitable for you if you have more serializers that need to change to this format Since DRF doesn’t … Read more