mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 00:04:13 +03:00
Merge pull request #765 from aleprovencio/fix-compressor
Fix compressor section on common.py
This commit is contained in:
commit
3ad0f57ef5
|
@ -238,9 +238,9 @@ else:
|
||||||
########## END CELERY
|
########## END CELERY
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{%- if cookiecutter.use_compressor == 'y'-%}
|
||||||
# django-compressor
|
# django-compressor
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
{% if cookiecutter.use_compressor == 'y'-%}
|
|
||||||
INSTALLED_APPS += ("compressor", )
|
INSTALLED_APPS += ("compressor", )
|
||||||
STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", )
|
STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", )
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user