Register VMPricing with admin site

This commit is contained in:
PCoder 2018-04-15 21:37:51 +02:00
parent 40b984be15
commit d296ce72cb

View file

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