From 3e171b944f15ee03a1aa6acf2497583f6eb3c879 Mon Sep 17 00:00:00 2001 From: Erik Stein Date: Thu, 25 Apr 2019 14:37:39 +0200 Subject: [PATCH] Rename 'SectionBase' to 'SectionBreakBase'. --- content_plugins/base.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content_plugins/base.py b/content_plugins/base.py index db8eadb..5266f97 100644 --- a/content_plugins/base.py +++ b/content_plugins/base.py @@ -170,8 +170,8 @@ class SectionBase(StyleMixin, FilesystemTemplateRendererPlugin): class Meta: abstract = True - verbose_name = _("section") - verbose_name_plural = _("section") + verbose_name = _("section break") + verbose_name_plural = _("section break") def __str__(self): return Truncator(strip_tags(self.subheading)).words(10, truncate=" ...") @@ -184,6 +184,9 @@ class SectionBase(StyleMixin, FilesystemTemplateRendererPlugin): return context +SectionBreakBase = SectionBase + + class ObjectPluginBase(FilesystemTemplateRendererPlugin): fk_fieldname = None regions = None