From 520bd6090ca059067cfecdec91af2d6e983ae619 Mon Sep 17 00:00:00 2001 From: Jake Rosenberg Date: Thu, 25 May 2023 17:18:24 -0500 Subject: [PATCH] Use ManifestStaticFilesStorage for cache busting --- taccsite_cms/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taccsite_cms/settings.py b/taccsite_cms/settings.py index 12a406ab3..0f88f11ad 100644 --- a/taccsite_cms/settings.py +++ b/taccsite_cms/settings.py @@ -301,6 +301,8 @@ def gettext(s): return s ('ui', os.path.join(BASE_DIR, 'taccsite_ui', 'dist')), ) +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' + # User Uploaded Files Location. MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(DATA_DIR, 'media')