We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 193bf0e commit 1734615Copy full SHA for 1734615
museum_of_dreams_project/settings/aws.py
@@ -35,3 +35,7 @@
35
AWS_SECRET_ACCESS_KEY = os.environ["AWS_SECRET_ACCESS_KEY"]
36
AWS_STORAGE_BUCKET_NAME = "modprodbucket"
37
AWS_S3_REGION_NAME = "eu-west-2"
38
+AWS_S3_CUSTOM_DOMAIN = (
39
+ f"{AWS_STORAGE_BUCKET_NAME}.s3.{AWS_S3_REGION_NAME}.amazonaws.com"
40
+)
41
+STATIC_URL = "https://%s/" % AWS_S3_CUSTOM_DOMAIN
0 commit comments