(domains) add support email field on MailDomain

Add new field on MailDomain to allow contact support
if some actions are required to fix domain.
This commit is contained in:
Sabrina Demagny
2025-02-02 23:14:04 +01:00
parent c2899f66af
commit 418db6194a
9 changed files with 61 additions and 4 deletions

View File

@@ -70,6 +70,7 @@ class MailDomainSerializer(serializers.ModelSerializer):
"created_at",
"updated_at",
"count_mailboxes",
"support_email",
]
read_only_fields = [
"id",

View File

@@ -33,6 +33,7 @@ class MailDomainViewSet(
POST /api/<version>/mail-domains/ with expected data:
- name: str
- support_email: str
Return newly created domain
"""