mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-11 21:06:45 +00:00
whitenoise
This commit is contained in:
parent
13b246a78d
commit
78390d8b8a
1 changed files with 2 additions and 1 deletions
|
|
@ -38,8 +38,9 @@ MIDDLEWARE = [
|
|||
]
|
||||
|
||||
if os.environ.get('ENV') == 'PRODUCTION':
|
||||
STATICFILES_STORAGE = 'villafleurie.storage.WhiteNoiseStaticFilesStorage'
|
||||
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
|
||||
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||
# STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||
|
||||
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
|
|
|
|||
Loading…
Reference in a new issue