Fix compressor section on common.py

This commit is contained in:
Alexandre Provencio 2016-07-05 21:22:59 -03:00
parent af8e942ccf
commit 36bdfd10ac

View File

@ -234,9 +234,9 @@ BROKER_URL = env('CELERY_BROKER_URL', default='django://')
########## END CELERY
{% endif %}
{% if cookiecutter.use_compressor == 'y'-%}
# django-compressor
# ------------------------------------------------------------------------------
{% if cookiecutter.use_compressor == 'y'-%}
INSTALLED_APPS += ("compressor", )
STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", )
{%- endif %}