Django nested objects, different serializers GET and POST
问题 this is a follow-up to this question I had here. I can now POST a new AP object using user Primary Key and after commenting this line in the AP serializer user = UserIndexSerializer() : Postman request: { "user":1, "name":"Max AP 05" } However the problem that I now have is that the initial UserIdexSerializer is rendered useless. This serializer determines the fields to show in a GET request but in consequence imposes the fields required in a POST request. What I'm trying to do is: POST a new