Initial commit from ZIP
This commit is contained in:
commit
378d4692a9
454 files changed
+40367
No files matched your search
Executable
+13
@@ -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
|
||||
Reference in new issue
Block a user