From 1af6e7cab6b59c37ab6d2fd39e8b1b7d8738156f Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 18 Aug 2020 07:28:42 +0200 Subject: [PATCH] Use unique urls for static files --- blog/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blog/settings.py b/blog/settings.py index 640c05c..f85c602 100644 --- a/blog/settings.py +++ b/blog/settings.py @@ -130,6 +130,7 @@ USE_TZ = True STATIC_URL = "/static/" STATIC_ROOT = BASE_DIR / "static" +STATICFILES_STORAGE = "django.contrib.staticfiles.storage.ManifestStaticFilesStorage" AUTH_USER_MODEL = "articles.User"