Skip to content

Commit 8a0c7d6

Browse files
authored
Merge pull request sclorg#53 from jfmatth/whitenoise-compression
enable whitenoise compression sclorg#3
2 parents 6aa44a6 + 7c7c236 commit 8a0c7d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@
108108

109109
STATIC_URL = '/static/'
110110
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
111+
112+
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'

0 commit comments

Comments
 (0)