Add Invites to auditlog

ref #19
This commit is contained in:
Tobias Kunze 2025-10-21 10:03:34 +02:00
parent 850a791851
commit 45b2b93aba

View file

@ -2,6 +2,7 @@ import secrets
import rules
import urlman
from auditlog.registry import auditlog
from django.conf import settings
from django.contrib.sites.shortcuts import get_current_site
from django.core.mail import send_mail
@ -536,3 +537,7 @@ The Servala Team"""
recipient_list=[self.email],
fail_silently=False,
)
auditlog.register(OrganizationInvitation, serialize_data=True)
auditlog.register(OrganizationMembership, serialize_data=True)