moviewyrm/bookwyrm/storage_backends.py
2021-06-07 18:15:48 +02:00

12 lines
270 B
Python

from storages.backends.s3boto3 import S3Boto3Storage
class StaticStorage(S3Boto3Storage):
location = "static"
default_acl = "public-read"
class ImagesStorage(S3Boto3Storage):
location = "images"
default_acl = "public-read"
file_overwrite = False