2015-01-24 19:24:33 +01:00
|
|
|
"""
|
|
|
|
This module registers the model classes defined in :py:mod:`domains.models`
|
|
|
|
with the django admin site.
|
|
|
|
|
|
|
|
"""
|
2014-05-25 14:53:58 +02:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2015-01-24 19:24:33 +01:00
|
|
|
from .models import (
|
2015-11-05 21:54:21 +01:00
|
|
|
DNSComment,
|
|
|
|
DNSCryptoKey,
|
|
|
|
DNSDomain,
|
|
|
|
DNSDomainMetadata,
|
|
|
|
DNSRecord,
|
|
|
|
DNSSupermaster,
|
|
|
|
DNSTSIGKey,
|
2015-01-24 19:24:33 +01:00
|
|
|
HostingDomain,
|
2015-11-05 21:54:21 +01:00
|
|
|
MailDomain,
|
2015-01-24 19:24:33 +01:00
|
|
|
)
|
2014-05-25 15:21:04 +02:00
|
|
|
|
|
|
|
admin.site.register(MailDomain)
|
2015-01-24 19:24:33 +01:00
|
|
|
admin.site.register(HostingDomain)
|
2015-11-05 21:54:21 +01:00
|
|
|
admin.site.register(DNSComment)
|
|
|
|
admin.site.register(DNSCryptoKey)
|
|
|
|
admin.site.register(DNSDomain)
|
|
|
|
admin.site.register(DNSDomainMetadata)
|
|
|
|
admin.site.register(DNSRecord)
|
|
|
|
admin.site.register(DNSSupermaster)
|
|
|
|
admin.site.register(DNSTSIGKey)
|