<filename>jiaoge/storage.py
from storages.backends.s3boto3 import S3Boto3Storage


class S3MediaStorage(S3Boto3Storage):
    location = "media"
    file_overwrite = False
    default_acl = "private"
    querystring_auth = True
    signature_version = "s3v4"


class S3StaticStorage(S3Boto3Storage):
    location = "static"
    file_overwrite = True
    default_acl = "public-read"
    querystring_auth = False

<filename>jiaoge/storage.py
from storages.backends.s3boto3 import S3Boto3Storage


class S3MediaStorage(S3Boto3Storage):
    location = "media"
    file_overwrite = False
    default_acl = "private"
    querystring_auth = True
    signature_version = "s3v4"


class S3StaticStorage(S3Boto3Storage):
    location = "static"
    file_overwrite = True
    default_acl = "public-read"
    querystring_auth = False
