Use unique urls for static files

This commit is contained in:
Gabriel Augendre 2020-08-18 07:28:42 +02:00
parent 617c34e5ba
commit 1af6e7cab6

View file

@ -130,6 +130,7 @@ USE_TZ = True
STATIC_URL = "/static/" STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "static" STATIC_ROOT = BASE_DIR / "static"
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"
AUTH_USER_MODEL = "articles.User" AUTH_USER_MODEL = "articles.User"