From fc0bc52ea34c264bd27417e794a4da72df765098 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 15 Apr 2018 23:18:22 +0200 Subject: [PATCH] Rename model DCLCalculatorPluginModel -> DCLCustomPricingModelModel --- datacenterlight/cms_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datacenterlight/cms_models.py b/datacenterlight/cms_models.py index 583ac6a5..64f21ddc 100644 --- a/datacenterlight/cms_models.py +++ b/datacenterlight/cms_models.py @@ -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' )