Added portal context support for blog manager
authorThierry Florac <thierry.florac@onf.fr>
Wed, 12 Jul 2017 11:54:03 +0200
changeset 112 924619bba393
parent 111 dfa050606268
child 113 05caef75bac3
Added portal context support for blog manager
src/pyams_content/shared/blog/manager.py
--- a/src/pyams_content/shared/blog/manager.py	Wed Jul 12 11:52:57 2017 +0200
+++ b/src/pyams_content/shared/blog/manager.py	Wed Jul 12 11:54:03 2017 +0200
@@ -18,6 +18,7 @@
 # import interfaces
 from pyams_content.component.theme.interfaces import IThemesManagerTarget
 from pyams_content.shared.blog.interfaces import IBlogManager, BLOG_CONTENT_TYPE, IBlogFolder
+from pyams_portal.interfaces import IPortalContext
 from zope.annotation.interfaces import IAttributeAnnotatable
 from zope.component.interfaces import ISite
 from zope.lifecycleevent.interfaces import IObjectAddedEvent, IObjectRemovedEvent
@@ -37,7 +38,7 @@
     """Blog folder class"""
 
 
-@implementer(IBlogManager, IThemesManagerTarget, IAttributeAnnotatable)
+@implementer(IBlogManager, IThemesManagerTarget, IAttributeAnnotatable, IPortalContext)
 class BlogManager(SharedTool, UserSkinnableContent):
     """Nlog manager class"""