dynamicweb/datacenterlight/admin.py

11 lines
300 B
Python
Raw Normal View History

2018-03-27 13:49:26 +00:00
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')
2018-03-27 13:49:26 +00:00
admin.site.register(CMSIntegration, CMSIntegrationAdmin)