Esempio n. 1
0
Page.create_content_type(FormContent)
Page.create_content_type(RawContent)
Page.create_content_type(FileContent)
#Page.register_request_processor(authenticated_request_processor)


Page.create_content_type(
    ApplicationContent,
    APPLICATIONS=(
        ('know.urls', 'Knowledge Application'),
        ('ask.urls', 'Ask Application'),
        ('article.urls', 'Article Application'),
        ('entrez.urls', 'Entrez Utils'),
        ('mlst.urls', 'MLST Application'),
    ),
)

from article.models import Article
Article.register_regions(
    ('top', _('Top content')),
    ('main', _('Main content')),
)
Article.create_content_type(RichTextContent)

Article.register_extensions(
    'feincms.module.extensions.datepublisher',
    'article.extensions.category',
    #'article.extensions.tags',
    #'article.extensions.thumbnails',
)