fix: serve collected static files with whitenoise
This commit is contained in:
@@ -284,6 +284,7 @@ USE_TZ = True
|
||||
STATIC_URL = "/static/"
|
||||
STATIC_ROOT = PROJECT_ROOT / "staticfiles"
|
||||
STATICFILES_DIRS = [BASE_DIR / "static"]
|
||||
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||
|
||||
# Media files
|
||||
MEDIA_URL = "/media/"
|
||||
|
||||
Reference in New Issue
Block a user