Skip to content

Commit

Permalink
Fix ManifestStaticFilesStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Dec 16, 2024
1 parent 4a1ab86 commit 271892e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/app/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@
]

# Use manifest to manage static file versions for cache busting:
STATICFILES_STORAGE = ('django.contrib.staticfiles.storage'
'.ManifestStaticFilesStorage')
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": ('django.contrib.staticfiles.storage'
'.ManifestStaticFilesStorage'),0
},
}

SENTRY_DNS = os.getenv('SENTRY_DNS')
if SENTRY_DNS:
Expand Down

0 comments on commit 271892e

Please sign in to comment.