Skip to content

Commit

Permalink
Adds STATICFILES_STORAGE config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Nov 4, 2024
1 parent c5d84db commit 8b9f5f0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ov_wag/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@
AWS_SECRET_ACCESS_KEY = env.get('AWS_SECRET_ACCESS_KEY')
AWS_S3_FILE_OVERWRITE = False
AWS_S3_REGION_NAME = env.get('AWS_S3_REGION_NAME', 'us-east-1')
STATICFILES_STORAGE = 'storages.backends.s3.S3Storage'

STORAGES = {
"default": {
"BACKEND": "storages.backends.s3.S3Storage",
"OPTIONS": {},
'default': {
'BACKEND': 'storages.backends.s3.S3Storage',
'OPTIONS': {},
}
}

Expand Down

0 comments on commit 8b9f5f0

Please sign in to comment.