mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-01 18:50:18 +03:00
#342 Add compressor to production settings
This commit is contained in:
parent
2e9b4c20a8
commit
7a745d0a43
|
@ -170,6 +170,13 @@ EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend"
|
||||||
NEW_RELIC_LICENSE_KEY = env('NEW_RELIC_LICENSE_KEY')
|
NEW_RELIC_LICENSE_KEY = env('NEW_RELIC_LICENSE_KEY')
|
||||||
NEW_RELIC_APP_NAME = env('NEW_RELIC_APP_NAME')
|
NEW_RELIC_APP_NAME = env('NEW_RELIC_APP_NAME')
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
# django-compressor
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
{% if cookiecutter.use_compressor == 'y'-%}
|
||||||
|
INSTALLED_APPS += ("compressor", )
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
# TEMPLATE CONFIGURATION
|
# TEMPLATE CONFIGURATION
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# See:
|
# See:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user