From d296ce72cbdc7be902f3504b325383d0ff0a9d86 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 15 Apr 2018 21:37:51 +0200 Subject: [PATCH] Register VMPricing with admin site --- datacenterlight/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datacenterlight/admin.py b/datacenterlight/admin.py index acb93fff..3e5927e8 100644 --- a/datacenterlight/admin.py +++ b/datacenterlight/admin.py @@ -1,10 +1,11 @@ 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)