Skip to content

Commit

Permalink
Static files manifest storage for cache busting
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Dec 7, 2023
1 parent 73ef1f9 commit 37d1546
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apollo_portal/apollo_portal/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
STATIC_ROOT = BASE_DIR / 'apollo_portal/static'
MEDIA_URL = '/media/'
MEDIA_ROOT = BASE_DIR / 'apollo_portal/media'
STATICFILES_STORAGE = (
'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
)

# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Expand Down

0 comments on commit 37d1546

Please sign in to comment.