From 73818fd5b915fe56b92917363c34179d23904762 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 19 Oct 2017 13:40:48 +0200 Subject: [PATCH] Add menu_text fields for various plugins --- ungleich_page/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 2869373e..bac70d2a 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -15,25 +15,29 @@ class UngelichPicture(CMSPlugin): class SectionWithImage(UngelichPicture): + menu_text = models.CharField(max_length=100, default="", blank=True) price_tag_image = FilerImageField( null=True, blank=True, related_name="price_tag_image", on_delete=models.SET_NULL ) - price_tag_url = models.URLField(max_length=300, default="") + price_tag_url = models.URLField(max_length=300, default="", blank=True) class UngelichContactUsSection(CMSPlugin): + menu_text = models.CharField(max_length=100, default="", blank=True) email = models.EmailField(max_length=200) class UngelichTextSection(CMSPlugin): + menu_text = models.CharField(max_length=100, default="", blank=True) title = models.CharField(max_length=200) description = HTMLField() class Service(CMSPlugin): + menu_text = models.CharField(max_length=100, default="", blank=True) title = models.CharField(max_length=200) sub_title = models.CharField(max_length=200)