Use SectionWithImage
This commit is contained in:
parent
bf044a4bf3
commit
878a823e20
1 changed files with 3 additions and 3 deletions
|
@ -2,14 +2,14 @@ from cms.plugin_base import CMSPluginBase
|
||||||
from cms.plugin_pool import plugin_pool
|
from cms.plugin_pool import plugin_pool
|
||||||
|
|
||||||
from .models import (
|
from .models import (
|
||||||
UngelichPicture, UngelichContactUsSection, UngelichTextSection, Service,
|
UngelichContactUsSection, UngelichTextSection, Service, ServiceItem,
|
||||||
ServiceItem, About, AboutItem
|
About, AboutItem, SectionWithImage
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@plugin_pool.register_plugin
|
@plugin_pool.register_plugin
|
||||||
class SectionWithImagePlugin(CMSPluginBase):
|
class SectionWithImagePlugin(CMSPluginBase):
|
||||||
model = UngelichPicture
|
model = SectionWithImage
|
||||||
render_template = "ungleich_page/glasfaser/section_with_image.html"
|
render_template = "ungleich_page/glasfaser/section_with_image.html"
|
||||||
cache = False
|
cache = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue