(models) add MailDomain status

Add some status to allow to create mailboxes only for an active domain
This commit is contained in:
Sabrina Demagny
2024-07-07 01:16:33 +02:00
parent d69861c148
commit 955a3dd226
8 changed files with 102 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ class MailDomainAdmin(admin.ModelAdmin):
"created_at",
"updated_at",
"slug",
"status",
)
search_fields = ("name",)
readonly_fields = ["created_at", "slug"]