mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-31 02:09:49 +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_APP_NAME = env('NEW_RELIC_APP_NAME')
|
||||
{%- endif %}
|
||||
|
||||
# django-compressor
|
||||
# ------------------------------------------------------------------------------
|
||||
{% if cookiecutter.use_compressor == 'y'-%}
|
||||
INSTALLED_APPS += ("compressor", )
|
||||
{%- endif %}
|
||||
|
||||
# TEMPLATE CONFIGURATION
|
||||
# ------------------------------------------------------------------------------
|
||||
# See:
|
||||
|
|
Loading…
Reference in New Issue
Block a user