Switch to ManifestStaticFilesStorage for hashed URLs to static files
This commit is contained in:
parent
783cdc6189
commit
e4ef2d7862
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ STATIC_ROOT = BASE_DIR.parent / 'collected_static'
|
||||||
STATICFILES_DIRS = [
|
STATICFILES_DIRS = [
|
||||||
BASE_DIR / 'static',
|
BASE_DIR / 'static',
|
||||||
]
|
]
|
||||||
|
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||||
|
|
||||||
MEDIA_ROOT = BASE_DIR.parent / 'media'
|
MEDIA_ROOT = BASE_DIR.parent / 'media'
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
|
|
Loading…
Reference in a new issue