-
-
Notifications
You must be signed in to change notification settings - Fork 17
-
Firstly, love this module it has been really useful but I have a question.
Typically when setting up Django storages we can set the location for the storage class e.g
class PrivateMediaStorage(S3Boto3Storage):
location = settings.PRIVATE_MEDIAFILES_LOCATION
default_acl = "private"
file_overwrite = False
custom_domain = False
But with this middle ware it doesn't seem to apply the new location this results in a file not being saved to the model when trying to extend S3OptimizedUploadStorage
class PrivateLargeMediaStorage(S3OptimizedUploadStorage):
location = settings.PRIVATE_MEDIAFILES_LOCATION
default_acl = "private"
file_overwrite = False
custom_domain = False
Is this expected behavior? It seems this module calls a get_aws_storage
which checks settings.AWS_LOCATION
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment