Add illustration support to site root
authorThierry Florac <thierry.florac@onf.fr>
Fri, 08 Jun 2018 15:18:36 +0200
changeset 593 5a9e74e11f4f
parent 592 c4baa5f90aae
child 770 5ee242d90312
Add illustration support to site root
src/pyams_content/root/__init__.py
--- a/src/pyams_content/root/__init__.py	Fri Jun 08 14:57:53 2018 +0200
+++ b/src/pyams_content/root/__init__.py	Fri Jun 08 15:18:36 2018 +0200
@@ -18,6 +18,7 @@
 # import standard library
 
 # import interfaces
+from pyams_content.component.illustration import IIllustrationTarget
 from pyams_content.features.alert.interfaces import IAlertTarget
 from pyams_content.features.footer.interfaces import IFooterTarget
 from pyams_content.features.header.interfaces import IHeaderTarget
@@ -46,7 +47,7 @@
 
 
 @implementer(IDefaultProtectionPolicy, ISiteRoot, ISiteRootRoles, IPortalContext,
-             IHeaderTarget, IFooterTarget, IAlertTarget, IPreviewTarget)
+             IIllustrationTarget, IHeaderTarget, IFooterTarget, IAlertTarget, IPreviewTarget)
 class SiteRoot(ProtectedObject, BaseSiteRoot, UserSkinnableContent):
     """Main site root"""