diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index ab697cd495..5cd8e01f5d 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -193,7 +193,7 @@ class MediaRootS3Boto3Storage(S3Boto3Storage): # https://django-compressor.readthedocs.io/en/latest/settings/#django.conf.settings.COMPRESS_STORAGE COMPRESS_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" # https://django-compressor.readthedocs.io/en/latest/settings/#django.conf.settings.COMPRESS_URL -COMPRESS_URL = STATIC_URL{% if cookiecutter.use_whitenoise == 'y' or cookiecutter.cloud_provider == 'None' %} # noqa F405{% endif %} +COMPRESS_URL = STATIC_URL {% if cookiecutter.use_whitenoise == 'y' or cookiecutter.cloud_provider == 'None' %}# noqa F405{% endif %} {%- if cookiecutter.use_whitenoise == 'n' -%} # Collectfast