First attempt to services section
- base.py: add settings to load GlasfaserServicesPlugin by default
- glasfaser_cms_page.html: create a placeholder for services
- cms_plugins.py: add the plugin code
- models.py: add UngelichTextSectionWithImage model
This commit is contained in:
parent
97ba0bafd3
commit
f6468a7c8c
4 changed files with 36 additions and 43 deletions
|
|
@ -21,3 +21,12 @@ class UngelichContactUsSection(CMSPlugin):
|
|||
class UngelichTextSection(CMSPlugin):
|
||||
title = models.CharField(max_length=200)
|
||||
description = HTMLField()
|
||||
|
||||
|
||||
class UngelichTextSectionWithImage(UngelichTextSection):
|
||||
image = FilerImageField(
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name="utswi_image",
|
||||
on_delete=models.SET_NULL
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue