Added 'preview' and 'review' features support
authorThierry Florac <thierry.florac@onf.fr>
Fri, 10 Nov 2017 11:59:05 +0100
changeset 262 851146db44da
parent 261 b97463bc3f1c
child 263 f4d7aa39fd50
Added 'preview' and 'review' features support
src/pyams_content/shared/blog/__init__.py
--- a/src/pyams_content/shared/blog/__init__.py	Fri Nov 10 11:58:38 2017 +0100
+++ b/src/pyams_content/shared/blog/__init__.py	Fri Nov 10 11:59:05 2017 +0100
@@ -18,6 +18,8 @@
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
 from pyams_content.component.theme.interfaces import IThemesTarget
+from pyams_content.features.preview.interfaces import IPreviewTarget
+from pyams_content.features.review.interfaces import IReviewTarget
 from pyams_content.shared.blog.interfaces import IWfBlogPost, BLOG_CONTENT_TYPE, BLOG_CONTENT_NAME, IBlogPost
 
 # import packages
@@ -25,7 +27,8 @@
 from zope.interface import implementer
 
 
-@implementer(IWfBlogPost, IParagraphContainerTarget, IThemesTarget)
+@implementer(IWfBlogPost, IParagraphContainerTarget, IThemesTarget,
+             IPreviewTarget, IReviewTarget)
 class WfBlogPost(WfSharedContent):
     """Base blog post"""