src/pyams_content/component/illustration/paragraph.py
changeset 356 9922023810d3
parent 249 990a1e45f07c
child 407 0ef5de2d5674
--- a/src/pyams_content/component/illustration/paragraph.py	Tue Feb 06 11:16:23 2018 +0100
+++ b/src/pyams_content/component/illustration/paragraph.py	Tue Feb 06 11:16:42 2018 +0100
@@ -23,7 +23,7 @@
 
 # import packages
 from pyams_content.component.illustration import Illustration as BaseIllustration, IllustrationContentChecker
-from pyams_content.component.paragraph import BaseParagraph
+from pyams_content.component.paragraph import BaseParagraph, BaseParagraphFactory
 from pyams_utils.adapter import adapter_config
 from pyams_utils.registry import utility_config
 from pyams_utils.request import check_request
@@ -41,7 +41,7 @@
 
 
 @utility_config(name='Illustration', provides=IParagraphFactory)
-class IllustrationFactory(object):
+class IllustrationFactory(BaseParagraphFactory):
     """Illustration paragraph factory"""
 
     name = _("Illustration")