title: You cannot call `.save()` after accessing `serializer.data`
body: <p>Error Showing when post data from API</p>
  
  <pre><code>You cannot call `.save()` after accessing `serializer.data`.If you need to access data before committing to the database then inspect 'serializer.validated_data' instead. 
  </code></pre>
  
  <p>My written Code is:</p>
  
  <pre><code>
  serializerdata = serializers.CreateSerializer(data=request.data)
  if serializerdata.is_valid():
      user_id = serializerdata.data.get('user_id')
      if user_id==2:
          serializerdata.save(i_created_by=request.user)
          return JsonResponse({"message": "success"}) 
      else:
          return JsonResponse({"message": "user invalid"})    
  else:
      return JsonResponse({"message": "error"})   
  
  </code></pre>