django-storages has been updated that's why you are getting this error.
OLD SYNTAX
from storages.backends.s3boto3 import S3Boto3Storage
import os
class MediaStorage(S3Boto3Storage):
bucket_name = os.environ.get('AWS_STORAGE_BUCKET_NAME')
location = 'media'
class StaticStorage(S3Boto3Storage):
bucket_name = os.environ.get('AWS_STORAGE_BUCKET_NAME')
location = 'static'
UPDATED SYNTAX
STORAGES = {
"default": {
"BACKEND": "storages.backends.s3.S3Storage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": 'media'
},
},
"staticfiles": {
"BACKEND": "storages.backends.s3.S3Storage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": 'static'
},
},
}