dynamicweb/datacenterlight/admin.py
2018-04-15 21:37:51 +02:00

11 lines
360 B
Python

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