(domains) add action required status on MailDomain

Create a new domain status to handle cases where
action is required from an external domain owner
for a domain to be fully functional.
This commit is contained in:
Sabrina Demagny
2025-02-02 22:29:45 +01:00
parent 4fb5d87df9
commit d48a3ff677
5 changed files with 30 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ class MailDomain(BaseModel):
)
slug = models.SlugField(null=False, blank=False, unique=True, max_length=80)
status = models.CharField(
max_length=10,
max_length=20,
default=MailDomainStatusChoices.PENDING,
choices=MailDomainStatusChoices.choices,
)