X-Git-Url: https://code.grnet.gr/git/snf-cloudcms/blobdiff_plain/dde9bcd4a939c14669966c350bbe26eee8ced6ae..511913cb2dae5a1d03da27a19dcbe34102bb4b01:/cloudcms/cms.py?ds=sidebyside diff --git a/cloudcms/cms.py b/cloudcms/cms.py index 4cf9d5f..3d72a00 100644 --- a/cloudcms/cms.py +++ b/cloudcms/cms.py @@ -55,6 +55,7 @@ from feincms.content.video.models import VideoContent from feincms.content.richtext.models import RichTextContent from cloudcmsblog.models import Entry, LatestEntries +from cloudcmsresources.models import ResourcesList from cloudcms.content import * Page.register_extensions( @@ -116,6 +117,14 @@ TEMPLATES = [{ ('sidebar', 'Sidebar', 'inherited'), ), }, + { + 'key': 'raw', + 'title': 'Empty content template', + 'path': 'cms/pages/empty.html', + 'regions': ( + ('main', 'Main region'), + ), + }, ] # register templates @@ -129,6 +138,8 @@ Page.create_content_type(TwitterFeed) Page.create_content_type(VideoContent) Page.create_content_type(VideoSection) Page.create_content_type(LatestEntries) +Page.create_content_type(IntroButton) +Page.create_content_type(ClientDownload) Page.create_content_type(ImageContent, POSITION_CHOICES=( ('default', 'Default position'), )) @@ -143,6 +154,7 @@ Page.create_content_type(ApplicationContent, APPLICATIONS=( # cloudcms specific content registration Page.create_content_type(LoginForm) Page.create_content_type(AboutBlock) +Page.create_content_type(ResourcesList) # Feincms specific registrations for our blog entry model