Return name for ungleich HTMLonly plugin

This commit is contained in:
PCoder 2017-11-24 08:24:07 +01:00
parent 0730494f48
commit 2a0b4951fa
1 changed files with 3 additions and 0 deletions

View File

@ -149,3 +149,6 @@ class UngleichCustomerItem(CMSPlugin):
class UngleichHTMLOnly(CMSPlugin):
name = models.CharField(max_length=50, default="", blank=True)
HTML = HTMLField()
def __str__(self):
return self.name