Skip to content

Commit

Permalink
fix: install storages app
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 3, 2024
1 parent 7bd6325 commit 4fcfbc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,7 @@
if AWS_S3_REGION_NAME == "":
AWS_S3_REGION_NAME = None
if AWS_STORAGE_BUCKET_NAME:
if "storages" not in INSTALLED_APPS:
INSTALLED_APPS.append("storages")
DEFAULT_FILE_STORAGE = "storages.backends.s3.S3Storage"
STATICFILES_STORAGE = "storages.backends.s3.S3Storage"

0 comments on commit 4fcfbc6

Please sign in to comment.