Skip to content

Commit b9d3616

Browse files
committed
Adjust STORAGES settings, revert.
1 parent cde7e14 commit b9d3616

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

hypha/settings/base.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,13 @@
326326
# Static files (CSS, JavaScript, Images)
327327
# https://docs.djangoproject.com/en/stable/howto/static-files/
328328

329-
STORAGES["staticfiles"] = {
330-
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
329+
STORAGES = {
330+
"default": {
331+
"BACKEND": "django.core.files.storage.FileSystemStorage",
332+
},
333+
"staticfiles": {
334+
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
335+
},
331336
}
332337

333338
STATICFILES_DIRS = [

0 commit comments

Comments
 (0)