Add SectionTextParagraphDCL and SectionTextParagraphGlasfaser

This commit is contained in:
M.Ravi 2017-10-17 17:47:40 +02:00
parent 27766329c9
commit 14bbfe901d

View file

@ -1,7 +1,9 @@
from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from .models import UngelichPicture, UngelichContactUsSection
from .models import (
UngelichPicture, UngelichContactUsSection, UngelichTextSection
)
@plugin_pool.register_plugin
@ -24,3 +26,17 @@ class SectionContact(CMSPluginBase):
model = UngelichContactUsSection
render_template = "ungleich_page/glasfaser/section_contact.html"
cache = False
@plugin_pool.register_plugin
class SectionTextParagraphDCL(CMSPluginBase):
model = UngelichTextSection
render_template = "ungleich_page/glasfaser/section_text_dcl.html"
cache = False
@plugin_pool.register_plugin
class SectionTextParagraphGlasfaser(CMSPluginBase):
model = UngelichTextSection
render_template = "ungleich_page/glasfaser/section_text_glasfaser.html"
cache = False