Initial commit from ZIP

This commit is contained in:
kusz committed 2024-11-27 13:18:16 +01:00
commit 378d4692a9
454 files changed
+40367

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
from storages.backends.s3boto3 import S3Boto3Storage
from storages.utils import setting
class S3StaticStorage(S3Boto3Storage):
bucket_name = setting("AWS_STORAGE_BUCKET_STATIC_NAME")
default_acl = "public-read"
querystring_auth = False
class S3MediaStorage(S3Boto3Storage):
bucket_name = setting("AWS_STORAGE_BUCKET_MEDIA_NAME")
default_acl = None