Use DCLCalculatorPluginModel in DCLCalculatorPlugin

This commit is contained in:
PCoder 2018-04-09 21:18:50 +02:00
parent c7afbb32c0
commit dd30542f9f

View file

@ -6,7 +6,7 @@ from .cms_models import (
DCLFooterPluginModel, DCLLinkPluginModel, DCLNavbarDropdownPluginModel,
DCLSectionIconPluginModel, DCLSectionImagePluginModel,
DCLSectionPluginModel, DCLNavbarPluginModel,
DCLSectionPromoPluginModel
DCLSectionPromoPluginModel, DCLCalculatorPluginModel
)
from .models import VMTemplate
@ -76,7 +76,7 @@ class DCLSectionPromoPlugin(CMSPluginBase):
class DCLCalculatorPlugin(CMSPluginBase):
module = "Datacenterlight"
name = "DCL Calculator Plugin"
model = DCLSectionPluginModel
model = DCLCalculatorPluginModel
render_template = "datacenterlight/cms/calculator.html"
cache = False
allow_children = True