blob: 780059a01e117a1296d79fb2d6819914559012e4 (
plain)
1
2
3
4
5
6
7
8
|
from django.conf import settings
from storages.backends.s3boto3 import S3Boto3Storage
class S3MediaStorage(S3Boto3Storage):
def __init__(self, *args, **kwargs):
self.bucket_name = settings.AWS_MEDIA_BUCKET_NAME
super(S3MediaStorage, self).__init__(*args, **kwargs)
|