def destroy(self, request, *args, **kwargs):
    instance = self.get_object()
    auditor.record(event_type=USER_DELETED, instance=instance, actor_id=self.request.user.id, actor_name=self.request.user.username)
    self.perform_destroy(instance)
    return Response(status=status.HTTP_204_NO_CONTENT)
def destroy(self, request, *args, **kwargs):
    instance = self.get_object()
    auditor.record(event_type=USER_DELETED, instance=instance, actor_id=self.request.user.id, actor_name=self.request.user.username)
    self.perform_destroy(instance)
    return Response(status=status.HTTP_204_NO_CONTENT)