(mail) add first_name and last_name for Mailbox

Mail provisioning API needs a full name to create a new mailbox.
This commit is contained in:
Sabrina Demagny
2024-08-07 12:29:40 +02:00
parent 402e73582c
commit c00c59b301
9 changed files with 123 additions and 8 deletions

View File

@@ -108,6 +108,8 @@ class MailDomainAccess(BaseModel):
class Mailbox(BaseModel):
"""Mailboxes for users from mail domain."""
first_name = models.CharField(max_length=200, blank=False)
last_name = models.CharField(max_length=200, blank=False)
local_part = models.CharField(
_("local_part"),
max_length=150,