title: Not getting ids in deserializer (Django Rest Framework)
body: <p>I am hoping to return ids of newly created objects after deserialization. However, to do this, I have to serialize all newly created data again. If I don't, I get the data back but without the ids.</p>
  
  <p>Isn't REST supposed to work that way - return to the caller what was created?
  If it should, am I missing something? The DRF tutorial left me with the impression that this should work (return the ids).</p>
  
  <p>Here is code:</p>
  
  <pre><code>class ProjectView(APIView):
      authentication_classes = (TokenAuthentication,)
      permission_classes = (IsAuthenticated,)
  
      def put(self, request, *args, **kwargs):
          ser = ProjectCreateSerializer(data=request.data, context={'user': request.user})
          if  ser.is_valid(raise_exception=True):
              proj = ser.save(user=request.user)
              #### The line below is required to get ids back to the user
              ser = ProjectCreateSerializer(proj)
              return Response(ser.data, status=status.HTTP_201_CREATED)
          return Response(status=status.HTTP_400_BAD_REQUEST)
  </code></pre>
  
  <p>I also have a create method on the <code>ProjectCreateSerializer</code> and it creates and saves the object before returning it.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I would like to be able to</p>
  
  <pre><code>PUT /project/
  {
  'name': 'Demo'
  }
  </code></pre>
  
  <p>and get back:</p>
  
  <pre><code>{
  'id': 1,
  'name': 'Demo'
  }
  </code></pre>
  
  <p>in one shot, without deserialize --> data --> serialize.</p>