From 440e4492294aa9fb6010839bb23591a3c2163702 Mon Sep 17 00:00:00 2001 From: rscnt Date: Wed, 20 May 2015 23:23:45 -0600 Subject: [PATCH] settings: added migrations & thumbnail_processors Signed-off-by: rscnt --- dynamicweb/settings.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 5d95bf75..d66bb297 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -191,3 +191,26 @@ TEMPLATE_DIRS = ( # TODO: Configure it later. CMS_TEMPLATES = ( ) + +MIGRATION_MODULES = { + 'djangocms_flash': 'djangocms_flash.migrations_django', + 'djangocms_googlemap': 'djangocms_googlemap.migrations_django', + 'djangocms_inherit': 'djangocms_inherit.migrations_django', + 'djangocms_link': 'djangocms_link.migrations_django', + 'djangocms_snippet': 'djangocms_snippet.migrations_django', + 'djangocms_teaser': 'djangocms_teaser.migrations_django', + 'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations', + 'cmsplugin_filer_file': 'cmsplugin_filer_file.migrations_django', + 'cmsplugin_filer_folder': 'cmsplugin_filer_folder.migrations_django', + 'cmsplugin_filer_link': 'cmsplugin_filer_link.migrations_django', + 'cmsplugin_filer_image': 'cmsplugin_filer_image.migrations_django', + 'cmsplugin_filer_teaser': 'cmsplugin_filer_teaser.migrations_django', + 'cmsplugin_filer_video': 'cmsplugin_filer_video.migrations_django', +} + +THUMBNAIL_PROCESSORS = ( + 'easy_thumbnails.processors.colorspace', + 'easy_thumbnails.processors.autocrop', + 'filer.thumbnail_processors.scale_and_crop_with_subject_location', + 'easy_thumbnails.processors.filters', +)