def perform_update(self, serializer):
        serializer.validated_data['owner'] = self.request.user
        # TODO: Write code to transfer ownership
        serializer.save(owner=self.request.user)
Necessary to prevent owner field from being blanked on updates
dataset/ETHPy150Open CenterForOpenScience/osf.io/api/applications/views.py/ApplicationDetail.perform_update