Merge pull request #53 from jfmatth/whitenoise-compression
enable whitenoise compression #3
This commit is contained in:
commit
8a0c7d6a9b
1 changed files with 2 additions and 0 deletions
|
@ -108,3 +108,5 @@ USE_TZ = True
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||||
|
|
||||||
|
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
|
||||||
|
|
Loading…
Reference in a new issue