This commit is contained in:
Joachim
2021-06-07 18:15:48 +02:00
parent b448d40514
commit 715cb46e1e
2 changed files with 15 additions and 14 deletions

View File

@ -1,11 +1,12 @@
from storages.backends.s3boto3 import S3Boto3Storage
class StaticStorage(S3Boto3Storage):
location = 'static'
default_acl = 'public-read'
location = "static"
default_acl = "public-read"
class ImagesStorage(S3Boto3Storage):
location = 'images'
default_acl = 'public-read'
file_overwrite = False
location = "images"
default_acl = "public-read"
file_overwrite = False