title: Django REST Framework Model Serializer is not showing all fields for POST method?
body: <p>I'm trying to make custom <code>create()</code>method to save my user profile when a User is created, the <code>serializer</code> works perfect for the GET method, but for POST it only shows one field instead of all fields.</p>
  
  <p>I specified the <code>fields = '__all__'</code> property, but still don't work </p>
  
  <p>GET:</p>
  
  <p><img src="https://i.ibb.co/v4QfGHg/Opera-Instant-nea-2019-11-06-115939-localhost.png" alt="GET"></p>
  
  <p>JSON Response:</p>
  
  <pre><code>[
    {
      "job_title": {
        "id": 1,
        "name": "Desarrollador"
      },
      "birthdate": "2019-11-06",
      "roles": [
        {
          "id": 1,
          "name": "Administrador",
          "description": "Administrador del sistema",
          "key": "ADMIN"
        }
      ]
    }
  ]
  </code></pre>
  
  <p>POST:</p>
  
  <p><img src="https://i.ibb.co/8dhS4Lb/Opera-Instant-nea-2019-11-06-120632-localhost.png" alt="POST"></p>
  
  <p>Expected JSON:</p>
  
  <pre><code>[
    {
      "birthdate": "2019-11-06",
    }
  ]
  </code></pre>
  
  <p>Serializers:</p>
  
  <pre class="lang-py prettyprint-override"><code>class UserProfileSerializer(serializers.ModelSerializer):
          class Meta:
              model = UserProfile
              fields = '__all__'
              depth = 1
  
  class UserSerializer(serializers.ModelSerializer):
      user_profile = UserProfileSerializer(read_only=False, many=False)
  
      class Meta:
          model = User
          fields = '__all__'
          depth = 1
  
      def create(self, validated_data):
          profile_data = validated_data.pop('user_profile')
          user = User.objects.create(**validated_data)
          UserProfile.objects.create(user=user, **profile_data)
          return user
  
  </code></pre>
  
  <p>views.py</p>
  
  <pre class="lang-py prettyprint-override"><code>class UserDetail(generics.RetrieveUpdateDestroyAPIView):
      profile = serializers.PrimaryKeyRelatedField(many=False, queryset=UserProfile.objects.all())
      queryset = User.objects.all()
      serializer_class = UserSerializer
  
  class UserProfileList(generics.ListCreateAPIView):
      queryset = UserProfile.objects.all()
      serializer_class = UserProfileSerializer
  
  </code></pre>
  
  <p>models.py</p>
  
  <pre class="lang-py prettyprint-override"><code>class UserProfile(models.Model):
      user = models.OneToOneField(User, related_name='user_profile', on_delete=models.CASCADE)
      birthdate = models.DateField(default=datetime.date.today)
      job_title = models.ForeignKey(JobTitle, related_name='job_title', on_delete=models.CASCADE)
      roles = models.ManyToManyField(Role)
  
      def createProfile(sender, **kwargs):
           if kwargs['created']:
              user_profile = UserProfile.objects.created(user=kwargs['instance'])
  
           post_save.connect(createProfile, sender=User)
  
      def __str__(self):
          return self.user.username
  </code></pre>
  
  <p>I need that POST method also requires the full JSON, the same as the GET JSON response, in order to complete the create method. Need this for POST method:</p>
  
  <pre><code>{
          "id": 1,
          "user_profile": {
              "job_title": {
                  "id": 1,
                  "name": "Desarrollador"
              },
              "birthdate": "2019-11-06",
              "roles": [
                  {
                      "id": 1,
                      "name": "Administrador",
                      "description": "Administrador del sistema",
                      "key": "ADMIN"
                  }
              ]
          },
          "password": "pbkdf2_sha256$150000$0XdmQpeiPtVl$rQh2MEYV+IO5Y4gm2o1md2cVzgn/mL95r6m1TvRmG3g=",
          "last_login": "2019-11-06T00:34:25-06:00",
          "is_superuser": true,
          "username": "aruiz",
          "first_name": "",
          "last_name": "",
          "email": "correo@correo.com",
          "is_staff": true,
          "is_active": true,
          "date_joined": "2019-11-05T11:37:49-06:00",
          "groups": [],
          "user_permissions": []
      }
  </code></pre>