Add illustration support to site root
authorThierry Florac <thierry.florac@onf.fr>
Fri, 08 Jun 2018 16:20:31 +0200
changeset 594 9386c04e9dec
parent 592 c4baa5f90aae
child 595 f6ecc99e4745
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 16:20:31 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"""