diff --git a/{{cookiecutter.project_slug}}/config/settings/common.py b/{{cookiecutter.project_slug}}/config/settings/common.py index 939bea5e..b5f1a328 100644 --- a/{{cookiecutter.project_slug}}/config/settings/common.py +++ b/{{cookiecutter.project_slug}}/config/settings/common.py @@ -238,9 +238,9 @@ else: ########## END CELERY {% endif %} +{%- if cookiecutter.use_compressor == 'y'-%} # django-compressor # ------------------------------------------------------------------------------ -{% if cookiecutter.use_compressor == 'y'-%} INSTALLED_APPS += ("compressor", ) STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", ) {%- endif %}