Add ungleich customer section, templates and migration
This commit is contained in:
parent
609a49cdbb
commit
85289c2eed
5 changed files with 138 additions and 2 deletions
|
|
@ -123,4 +123,24 @@ class UngleichProductItem(ServiceItem):
|
|||
|
||||
|
||||
class UngleichProduct(Service):
|
||||
section_class = models.CharField(max_length=100, default="", blank=True)
|
||||
section_class = models.CharField(max_length=100, default="", blank=True)
|
||||
|
||||
|
||||
class UngleichCustomer(Service):
|
||||
section_class = models.CharField(max_length=100, default="", blank=True)
|
||||
carousel_data_interval = models.IntegerField(default=3000)
|
||||
bottom_text = HTMLField(
|
||||
default='<h3 class="section-subheading text-muted">*ungleich means '
|
||||
'not equal to (≠) U+2260.</h3>'
|
||||
)
|
||||
|
||||
|
||||
class UngleichCustomerItem(CMSPlugin):
|
||||
image = FilerImageField(
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name="customer_item_image",
|
||||
on_delete=models.SET_NULL
|
||||
)
|
||||
url = models.URLField(max_length=300, default="", blank=True)
|
||||
description = HTMLField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue