diff --git a/content_plugins/base.py b/content_plugins/base.py index 5266f97..f7c3213 100644 --- a/content_plugins/base.py +++ b/content_plugins/base.py @@ -158,8 +158,7 @@ class RichTextBase(PrepareRichtextMixin, FilesystemTemplateRendererPlugin): return Truncator(strip_tags(self.richtext)).words(10, truncate=" ...") -# TODO Rename to SectionBreakBase -class SectionBase(StyleMixin, FilesystemTemplateRendererPlugin): +class SectionBreakBase(StyleMixin, FilesystemTemplateRendererPlugin): if USE_TRANSLATABLE_FIELDS: subheading = TranslatableCharField(_("subheading"), null=True, blank=True, max_length=500) else: @@ -184,7 +183,7 @@ class SectionBase(StyleMixin, FilesystemTemplateRendererPlugin): return context -SectionBreakBase = SectionBase +SectionBase = SectionBreakBase class ObjectPluginBase(FilesystemTemplateRendererPlugin):