🗃️(domains) add "secret" field to domains
add a "secret" field to domain model. This secret will be used as password in mail provisioning API.
This commit is contained in:
committed by
Marie
parent
8963f0bb3d
commit
2c82f38c59
@@ -27,6 +27,7 @@ class MailDomainFactory(factory.django.DjangoModelFactory):
|
||||
|
||||
name = factory.Faker("domain_name")
|
||||
slug = factory.LazyAttribute(lambda o: slugify(o.name))
|
||||
secret = factory.Faker("password")
|
||||
|
||||
@factory.post_generation
|
||||
def users(self, create, extracted, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user