From e9142b17ae31897361647a8be1ac583215e9b757 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Tue, 17 Oct 2017 17:51:01 +0200 Subject: [PATCH] Add UngleichTextSection --- ungleich_page/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 3762a1aa..c371020d 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -1,5 +1,6 @@ from cms.models.pluginmodel import CMSPlugin from django.db import models +from djangocms_text_ckeditor.fields import HTMLField from filer.fields.image import FilerImageField @@ -15,3 +16,8 @@ class UngelichPicture(CMSPlugin): class UngelichContactUsSection(CMSPlugin): email = models.EmailField(max_length=200) + + +class UngelichTextSection(CMSPlugin): + title = models.CharField(max_length=200) + description = HTMLField()