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,
 | 
					    DCLFooterPluginModel, DCLLinkPluginModel, DCLNavbarDropdownPluginModel,
 | 
				
			||||||
    DCLSectionIconPluginModel, DCLSectionImagePluginModel,
 | 
					    DCLSectionIconPluginModel, DCLSectionImagePluginModel,
 | 
				
			||||||
    DCLSectionPluginModel, DCLNavbarPluginModel,
 | 
					    DCLSectionPluginModel, DCLNavbarPluginModel,
 | 
				
			||||||
    DCLSectionPromoPluginModel
 | 
					    DCLSectionPromoPluginModel, DCLCalculatorPluginModel
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
from .models import VMTemplate
 | 
					from .models import VMTemplate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -76,7 +76,7 @@ class DCLSectionPromoPlugin(CMSPluginBase):
 | 
				
			||||||
class DCLCalculatorPlugin(CMSPluginBase):
 | 
					class DCLCalculatorPlugin(CMSPluginBase):
 | 
				
			||||||
    module = "Datacenterlight"
 | 
					    module = "Datacenterlight"
 | 
				
			||||||
    name = "DCL Calculator Plugin"
 | 
					    name = "DCL Calculator Plugin"
 | 
				
			||||||
    model = DCLSectionPluginModel
 | 
					    model = DCLCalculatorPluginModel
 | 
				
			||||||
    render_template = "datacenterlight/cms/calculator.html"
 | 
					    render_template = "datacenterlight/cms/calculator.html"
 | 
				
			||||||
    cache = False
 | 
					    cache = False
 | 
				
			||||||
    allow_children = True
 | 
					    allow_children = True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue