Rename model

DCLCalculatorPluginModel -> DCLCustomPricingModelModel
This commit is contained in:
PCoder 2018-04-15 23:18:22 +02:00
parent 6575ff1afe
commit fc0bc52ea3

View file

@ -279,10 +279,10 @@ class DCLSectionPromoPluginModel(CMSPlugin):
return extra_classes
class DCLCalculatorPluginModel(DCLSectionPluginModel):
class DCLCustomPricingModel(CMSPlugin):
pricing = models.ForeignKey(
VMPricing,
default=VMPricing.get_default_pricing(),
related_name="dcl_custom_pricing_vm_pricing",
help_text='Choose a pricing that will be associated with this '
'Calculator'
)