dynamicweb/datacenterlight/admin.py

10 lines
300 B
Python

from django.contrib import admin
from cms.admin.placeholderadmin import PlaceholderAdminMixin
from .cms_models import CMSIntegration
class CMSIntegrationAdmin(PlaceholderAdminMixin, admin.ModelAdmin):
list_display = ('name', 'domain')
admin.site.register(CMSIntegration, CMSIntegrationAdmin)