Run django-compress in offline mode
Required to use both whitenoise and compress with precompile steps
This commit is contained in:
parent
fefb6cc64b
commit
6108c6f076
3 changed files with 3 additions and 1 deletions
|
@ -108,6 +108,7 @@ COMPRESS_ENABLED = env.bool("COMPRESS_ENABLED", default=True)
|
|||
# COMPRESS_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
|
||||
# https://django-compressor.readthedocs.io/en/latest/settings/#django.conf.settings.COMPRESS_URL
|
||||
COMPRESS_URL = STATIC_URL # noqa F405
|
||||
COMPRESS_OFFLINE = True
|
||||
# Collectfast
|
||||
# ------------------------------------------------------------------------------
|
||||
# https://github.com/antonagestam/collectfast#installation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue