From 7c7c2368244ca9c76a1e26c40ca5bf2aad6c1c14 Mon Sep 17 00:00:00 2001 From: John Matthew Date: Fri, 8 Jul 2016 08:00:57 -0700 Subject: [PATCH] enable compression --- project/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/settings.py b/project/settings.py index 95f4332..c8e5832 100644 --- a/project/settings.py +++ b/project/settings.py @@ -108,3 +108,5 @@ USE_TZ = True STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') + +STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'