src/pyams_content/shared/blog/__init__.py
changeset 694 4541a452fd4c
parent 621 a75b1fc09fde
child 800 2b5460ecb254
equal deleted inserted replaced
693:26d51b558325 694:4541a452fd4c
    14 
    14 
    15 
    15 
    16 # import standard library
    16 # import standard library
    17 
    17 
    18 # import interfaces
    18 # import interfaces
    19 from pyams_content.component.illustration import IIllustrationTarget
    19 from pyams_content.component.illustration import IIllustrationTarget, ILinkIllustrationTarget
    20 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
    20 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
    21 from pyams_content.component.theme.interfaces import IThemesTarget
    21 from pyams_content.component.theme.interfaces import IThemesTarget
    22 from pyams_content.features.preview.interfaces import IPreviewTarget
    22 from pyams_content.features.preview.interfaces import IPreviewTarget
    23 from pyams_content.features.review.interfaces import IReviewTarget
    23 from pyams_content.features.review.interfaces import IReviewTarget
    24 from pyams_content.shared.blog.interfaces import IWfBlogPost, BLOG_CONTENT_TYPE, BLOG_CONTENT_NAME, IBlogPost, \
    24 from pyams_content.shared.blog.interfaces import IWfBlogPost, BLOG_CONTENT_TYPE, BLOG_CONTENT_NAME, IBlogPost, \
    30 from pyams_utils.adapter import adapter_config
    30 from pyams_utils.adapter import adapter_config
    31 from zope.interface import implementer, provider
    31 from zope.interface import implementer, provider
    32 
    32 
    33 
    33 
    34 @implementer(IWfBlogPost, IParagraphContainerTarget, IThemesTarget, IIllustrationTarget,
    34 @implementer(IWfBlogPost, IParagraphContainerTarget, IThemesTarget, IIllustrationTarget,
    35              IPreviewTarget, IReviewTarget)
    35              ILinkIllustrationTarget, IPreviewTarget, IReviewTarget)
    36 class WfBlogPost(WfSharedContent):
    36 class WfBlogPost(WfSharedContent):
    37     """Base blog post"""
    37     """Base blog post"""
    38 
    38 
    39     content_type = BLOG_CONTENT_TYPE
    39     content_type = BLOG_CONTENT_TYPE
    40     content_name = BLOG_CONTENT_NAME
    40     content_name = BLOG_CONTENT_NAME