Use DCLCalculatorPluginModel in DCLCalculatorPlugin
This commit is contained in:
parent
c7afbb32c0
commit
dd30542f9f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue