src/pyams_content/component/gallery/paragraph.py
changeset 356 9922023810d3
parent 252 2dafc720b378
child 363 86d1a240d4dc
--- a/src/pyams_content/component/gallery/paragraph.py	Tue Feb 06 11:16:23 2018 +0100
+++ b/src/pyams_content/component/gallery/paragraph.py	Tue Feb 06 11:16:42 2018 +0100
@@ -23,7 +23,7 @@
 
 # import packages
 from pyams_content.component.gallery import Gallery as BaseGallery
-from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker
+from pyams_content.component.paragraph import BaseParagraph, BaseParagraphContentChecker, BaseParagraphFactory
 from pyams_utils.adapter import adapter_config
 from pyams_utils.registry import utility_config, get_utility
 from pyams_utils.traversing import get_parent
@@ -41,7 +41,7 @@
 
 
 @utility_config(name='Gallery', provides=IParagraphFactory)
-class GalleryFactory(object):
+class GalleryFactory(BaseParagraphFactory):
     """Gallery paragraph factory"""
 
     name = _("Images gallery")