diff --git a/djangocms_installer/config/settings.py b/djangocms_installer/config/settings.py index 860a5ca..b7458cf 100644 --- a/djangocms_installer/config/settings.py +++ b/djangocms_installer/config/settings.py @@ -170,3 +170,7 @@ URLCONF = { } + +SOUTH_MIGRATION_MODULES = ( + ('easy_thumbnails', 'easy_thumbnails.south_migrations'), +) diff --git a/djangocms_installer/django/__init__.py b/djangocms_installer/django/__init__.py index 0c8a8bb..12fbff5 100644 --- a/djangocms_installer/django/__init__.py +++ b/djangocms_installer/django/__init__.py @@ -253,6 +253,8 @@ def _build_settings(config_data): if config_data.filer: text.append("THUMBNAIL_PROCESSORS = (\n%s%s\n)" % ( spacer, (",\n" + spacer).join(["'%s'" % var for var in vars.THUMBNAIL_PROCESSORS]))) + text.append("SOUTH_MIGRATION_MODULES = {\n%s%s\n}" % ( + spacer, (",\n" + spacer).join(["'%s': '%s'" % item for item in vars.SOUTH_MIGRATION_MODULES]))) return "\n\n".join(text)