                  # corresponding renderer that can be used to render the data.
  
                  # Get a read-only version of the serializer
                  serializer = view.get_serializer(instance=instance)
                  if instance is None:
                      for name, field in serializer.fields.items():
                          if getattr(field, 'read_only', None):
                              del serializer.fields[name]
  
                  # Render the raw data content
                  renderer = renderer_class()
                  accepted = self.accepted_media_type
                  context = self.renderer_context.copy()
 
</s> remove                 # Get a read-only version of the serializer
 </s> add  </s> remove             if not field.write_only
 </s> add             if not field.read_only
                  # corresponding renderer that can be used to render the data.
  
                  # Get a read-only version of the serializer
                  serializer = view.get_serializer(instance=instance)




  
                  # Render the raw data content
                  renderer = renderer_class()
                  accepted = self.accepted_media_type
                  context = self.renderer_context.copy()
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Fix initial data on serializers to reflect writable fields 
rest_framework/renderers.py