move MailDomain admin to domains.admin

This commit is contained in:
Jan Dittberner 2014-05-25 15:21:04 +02:00
parent ecaff6a4af
commit 23de57e138
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,5 @@
from django.contrib import admin
# Register your models here.
from .models import MailDomain
admin.site.register(MailDomain)

View file

@ -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)