Browse Source

Merge pull request #53 from jfmatth/whitenoise-compression

enable whitenoise compression #3
pull/55/head
Rodolfo Carvalho 9 years ago
committed by GitHub
parent
commit
8a0c7d6a9b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      project/settings.py

+ 2
- 0
project/settings.py View File

@ -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…
Cancel
Save