# HG changeset patch # User Thierry Florac # Date 1510311700 -3600 # Node ID 16ff75a093d8b4ffbda422a3d4f78ac394c62e15 # Parent 4ac7ac893ff881e597f422c0c39f6691ed323ea3 Added news 'preview' and 'review' features support, and added form content checker diff -r 4ac7ac893ff8 -r 16ff75a093d8 src/pyams_content/shared/news/__init__.py --- a/src/pyams_content/shared/news/__init__.py Fri Nov 10 12:01:18 2017 +0100 +++ b/src/pyams_content/shared/news/__init__.py Fri Nov 10 12:01:40 2017 +0100 @@ -16,10 +16,10 @@ # import standard library # import interfaces -from pyams_content.component.extfile.interfaces import IExtFileContainerTarget -from pyams_content.component.links.interfaces import ILinkContainerTarget 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.news.interfaces import INewsEvent, IWfNewsEvent, NEWS_CONTENT_TYPE, NEWS_CONTENT_NAME # import packages @@ -27,7 +27,8 @@ from zope.interface import implementer -@implementer(IWfNewsEvent, IParagraphContainerTarget, IThemesTarget) +@implementer(IWfNewsEvent, IParagraphContainerTarget, IThemesTarget, + IPreviewTarget, IReviewTarget) class WfNewsEvent(WfSharedContent): """Base news event"""