From 4fcfbc6953f687b256fb8a445595950d57ca8898 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 3 Dec 2024 10:10:05 +0000 Subject: [PATCH] fix: install storages app --- settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings.py b/settings.py index 11f0fd8..aa78ba0 100644 --- a/settings.py +++ b/settings.py @@ -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"