def post(self, request, *args, **kwargs):
    user = self.get_object()
    user.is_active = True
    user.save()
    auditor.record(event_type=USER_ACTIVATED, instance=user, actor_id=self.request.user.id, actor_name=self.request.user.username)
    return Response(status=status.HTTP_200_OK)
def post(self, request, *args, **kwargs):
    user = self.get_object()
    user.is_active = True
    user.save()
    auditor.record(event_type=USER_ACTIVATED, instance=user, actor_id=self.request.user.id, actor_name=self.request.user.username)
    return Response(status=status.HTTP_200_OK)