--- a/src/pyams_content/shared/blog/__init__.py Thu Jan 03 17:52:15 2019 +0100
+++ b/src/pyams_content/shared/blog/__init__.py Fri Jan 04 12:20:10 2019 +0100
@@ -12,23 +12,19 @@
__docformat__ = 'restructuredtext'
+from zope.interface import implementer, provider
+from zope.schema.fieldproperty import FieldProperty
-# import standard library
-
-# import interfaces
from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
from pyams_content.component.theme.interfaces import ITagsTarget, 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, \
+from pyams_content.shared.blog.interfaces import BLOG_CONTENT_NAME, BLOG_CONTENT_TYPE, IBlogPost, IWfBlogPost, \
IWfBlogPostFactory
-from pyams_workflow.interfaces import IWorkflow, IWorkflowVersions, IWorkflowState
-
-# import packages
-from pyams_content.shared.common import WfSharedContent, register_content_type, SharedContent, IWfSharedContentFactory
+from pyams_content.shared.common import IWfSharedContentFactory, SharedContent, WfSharedContent, register_content_type
from pyams_utils.adapter import adapter_config
-from zope.interface import implementer, provider
+from pyams_workflow.interfaces import IWorkflow, IWorkflowState, IWorkflowVersions
@implementer(IWfBlogPost, IParagraphContainerTarget, ITagsTarget, IThemesTarget, IIllustrationTarget,
@@ -39,6 +35,8 @@
content_type = BLOG_CONTENT_TYPE
content_name = BLOG_CONTENT_NAME
+ references = FieldProperty(IWfBlogPost['references'])
+
register_content_type(WfBlogPost)