Configure django storages
@@ -17,3 +17,10 @@ if SENTRY_DSN:
sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])
SLACK_INCOMING_WEBHOOK_URL = env("SLACK_INCOMING_WEBHOOK_URL")
+
+DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
+
+AWS_STORAGE_BUCKET_NAME = env("AWS_MEDIA_BUCKET", None)
+AWS_S3_REGION_NAME = env("AWS_REGION_NAME", None)
+AWS_ACCESS_KEY_ID = env("AWS_ACCESS_KEY_ID", None)
+AWS_SECRET_ACCESS_KEY = env("AWS_SECRET_ACCESS_KEY", None)
