Add ungleichproduct and ungleichproductitem plugins

This commit is contained in:
PCoder 2017-11-22 00:19:07 +01:00
commit 1e567ef6ad
3 changed files with 81 additions and 3 deletions

View file

@ -115,4 +115,12 @@ class UngleichHeaderItem(CMSPlugin):
related_name="ungleich_header_item_image",
on_delete=models.SET_NULL
)
description = HTMLField()
description = HTMLField()
class UngleichProductItem(ServiceItem):
url = models.URLField(max_length=300, default="", blank=True)
class UngleichProduct(Service):
section_class = models.CharField(max_length=100, default="", blank=True)