I have retrieved the object by doing the following and I am trying to update a field in the object. However, it is throwing an exception "response object has no attribute save"
def retrieve(self, request, token=None):
object_serializer = self.serializer_class(self.get_object(token=token))
obj = object_serializer.instance
obj.update_field = "test field"
obj.save()
return Response(object_serializer.data)