'Updates a resource in-place.
Calls ``obj_update``.
If the resource is updated, return ``HttpAccepted`` (202 Accepted).
If the resource did not exist, return ``HttpNotFound`` (404 Not Found).'

def patch_detail(self, request, **kwargs):

    request = convert_post_to_patch(request)
    basic_bundle = self.build_bundle(request=request)
    try:
        obj = self.cached_obj_get(bundle=basic_bundle, **self.remove_api_resource_names(kwargs))
    except ObjectDoesNotExist:
        return http.HttpNotFound()
    except MultipleObjectsReturned:
        return http.HttpMultipleChoices(u'More    than    one    resource    is    found    at    this    URI.')
    bundle = self.build_bundle(obj=obj, request=request)
    bundle = self.full_dehydrate(bundle)
    bundle = self.alter_detail_data_to_serialize(request, bundle)
    deserialized = self.deserialize(request, request.body, format=request.META.get(u'CONTENT_TYPE', u'application/json'))
    self.update_in_place(request, bundle, deserialized)
    if (not self._meta.always_return_data):
        return http.HttpAccepted()
    else:
        bundle.obj._prefetched_objects_cache = {}
        bundle = self.full_dehydrate(bundle)
        bundle = self.alter_detail_data_to_serialize(request, bundle)
        return self.create_response(request, bundle, response_class=http.HttpAccepted)
