def put(self, request, *args, **kwargs):
        self.object = self.get_object()
        self.mapper = self.get_mapper(self.object)

        self.data = self.get_request_data({})

        try:
            self.mapper._apply(self.data)
        except __HOLE__ as e:
            return self.put_invalid(e.error_dict)

        return self.put_valid()
dataset/ETHPy150Open funkybob/django-nap/nap/rest/views.py/ObjectPutMixin.put