settings
This commit is contained in:
@@ -146,9 +146,11 @@ STATIC_URL = "/static/"
|
||||
|
||||
STATIC_ROOT = BASE_DIR / "staticfiles"
|
||||
|
||||
STATICFILES_STORAGE = (
|
||||
"whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||
)
|
||||
STORAGES = {
|
||||
"staticfiles": {
|
||||
"BACKEND": "whitenoise.storage.CompressedStaticFilesStorage",
|
||||
},
|
||||
}
|
||||
MEDIA_URL = "/media/"
|
||||
|
||||
MEDIA_ROOT = "/app/media"
|
||||
|
||||
Reference in New Issue
Block a user