From 2a0b4951fae86a497ee2acc9e4b22511736331d2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 24 Nov 2017 08:24:07 +0100 Subject: [PATCH] Return name for ungleich HTMLonly plugin --- ungleich_page/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 8e8880bd..706e1682 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -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