(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

@@ -27,6 +27,7 @@ class MailDomainFactory(factory.django.DjangoModelFactory):
name = factory.Faker("domain_name")
slug = factory.LazyAttribute(lambda o: slugify(o.name))
support_email = factory.Faker("email")
@factory.post_generation
def users(self, create, extracted, **kwargs):