Skip to content

Commit

Permalink
Added settings for easy thumbnails and South for support with the '--…
Browse files Browse the repository at this point in the history
…filer' option
  • Loading branch information
growlf committed Jun 30, 2014
1 parent a837bb3 commit 823b4d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions djangocms_installer/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,7 @@
URLCONF = {

}

SOUTH_MIGRATION_MODULES = (
('easy_thumbnails', 'easy_thumbnails.south_migrations'),
)
2 changes: 2 additions & 0 deletions djangocms_installer/django/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 823b4d6

Please sign in to comment.