move MailDomain admin to domains.admin
This commit is contained in:
parent
ecaff6a4af
commit
23de57e138
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from .models import MailDomain
|
||||
|
||||
admin.site.register(MailDomain)
|
||||
|
|
|
@ -8,7 +8,6 @@ from .models import (
|
|||
MailAddress,
|
||||
MailAddressForward,
|
||||
MailAddressMailbox,
|
||||
MailDomain,
|
||||
Mailbox,
|
||||
)
|
||||
|
||||
|
@ -162,6 +161,5 @@ class MailAddressAdmin(ActivationChangeMixin, admin.ModelAdmin):
|
|||
inlines = [MailAddressMailboxInline, MailAddressForwardInline]
|
||||
|
||||
|
||||
admin.site.register(MailDomain)
|
||||
admin.site.register(Mailbox, MailboxAdmin)
|
||||
admin.site.register(MailAddress, MailAddressAdmin)
|
||||
|
|
Loading…
Reference in a new issue