Django: Nesting serializers in each other
问题 I'm figuring out how serializers can be merged or nested into each other. In this example I have a column model (consisting of Column class) and data that belong to the column model (consisting of Data class ). My problems is that I don't know how to call ModelSerializer from another serializer class and pass the arguments (the result is always empty). Can you advice me if my model is correct for this situation and how to create the desired JSON so that the result reuses existing serializers