mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-31 02:09:49 +03:00
Fix compressor section on common.py
This commit is contained in:
parent
af8e942ccf
commit
36bdfd10ac
|
@ -234,9 +234,9 @@ BROKER_URL = env('CELERY_BROKER_URL', default='django://')
|
||||||
########## 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