def METHOD_NAME(self, user):
    OrganizationMember.objects.filter(user=user, organization=self).delete()
    if user.active_organization_id == self.id:
        user.active_organization = user.organizations.first()
        user.save(update_fields=['active_organization'])