Added support for pictogram manager to news
authorThierry Florac <thierry.florac@onf.fr>
Tue, 13 Mar 2018 16:30:49 +0100
changeset 474 5626317a6b36
parent 473 482e02c1f3d5
child 475 2f54fa9f2935
Added support for pictogram manager to news
src/pyams_content/shared/news/manager.py
--- a/src/pyams_content/shared/news/manager.py	Tue Mar 13 16:29:56 2018 +0100
+++ b/src/pyams_content/shared/news/manager.py	Tue Mar 13 16:30:49 2018 +0100
@@ -18,8 +18,8 @@
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphFactorySettings
 from pyams_content.component.theme.interfaces import IThemesManagerTarget
+from pyams_content.reference.pictograms.interfaces import IPictogramManagerTarget
 from pyams_content.shared.news.interfaces import INewsManager, NEWS_CONTENT_TYPE
-from zope.annotation.interfaces import IAttributeAnnotatable
 from zope.component.interfaces import ISite
 from zope.lifecycleevent.interfaces import IObjectAddedEvent
 
@@ -32,7 +32,7 @@
 from zope.schema.fieldproperty import FieldProperty
 
 
-@implementer(INewsManager, IParagraphFactorySettings, IThemesManagerTarget, IAttributeAnnotatable)
+@implementer(INewsManager, IParagraphFactorySettings, IThemesManagerTarget, IPictogramManagerTarget)
 class NewsManager(SharedTool):
     """News manager class"""