2018-03-27 13:49:26 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
from cms.admin.placeholderadmin import PlaceholderAdminMixin
|
2018-04-12 03:26:24 +00:00
|
|
|
from cms.extensions import PageExtensionAdmin
|
|
|
|
from .cms_models import CMSIntegration, CMSFaviconExtension
|
2018-03-27 13:49:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
class CMSIntegrationAdmin(PlaceholderAdminMixin, admin.ModelAdmin):
|
2018-04-03 17:11:29 +00:00
|
|
|
list_display = ('name', 'domain')
|
2018-03-27 13:49:26 +00:00
|
|
|
|
|
|
|
|
2018-04-12 03:26:24 +00:00
|
|
|
class CMSFaviconExtensionAdmin(PageExtensionAdmin):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2018-03-27 13:49:26 +00:00
|
|
|
admin.site.register(CMSIntegration, CMSIntegrationAdmin)
|
2018-04-12 03:26:24 +00:00
|
|
|
admin.site.register(CMSFaviconExtension, CMSFaviconExtensionAdmin)
|