# -------------------------------------------------------------- # ------------------------- BLOG ------------------------------- # -------------------------------------------------------------- if 'elephantblog' in settings.INSTALLED_APPS: from elephantblog.models import Entry as ElephantEntry from elephantblog.contents import QuoteContent ElephantEntry.register_regions( ('main', _('Main region')), ) ElephantEntry.create_content_type(RichTextContent, cleanse=False, regions=('main',)) ElephantEntry.create_content_type(CommentsContent) ElephantEntry.create_content_type(MediaFileContent, TYPE_CHOICES=MEDIA_TYPE_CHOICES) ElephantEntry.create_content_type(VideoContent) ElephantEntry.create_content_type(GalleryContent) ElephantEntry.create_content_type(QuoteContent) ElephantEntry.register_extensions('feincms.module.extensions.seo') # ------------------------- ORGEVENT ------------------------------- if 'groupagenda' in settings.INSTALLED_APPS: from groupagenda.models import Event Event.register_regions( ('main', _('Main region')), ) Event.create_content_type(RichTextContent) Event.create_content_type(CommentsContent) Event.create_content_type(MediaFileContent, TYPE_CHOICES=MEDIA_TYPE_CHOICES)