I set the default storage as below:
DEFAULT_FILE_STORAGE: ‘storages.backends.s3boto3.S3Boto3Storage’
The user upload file will store into s3-bucket root-path .
What should I do to make the file upload to s3-bucket/target_folder ?
I set the default storage as below:
DEFAULT_FILE_STORAGE: ‘storages.backends.s3boto3.S3Boto3Storage’
The user upload file will store into s3-bucket root-path .
What should I do to make the file upload to s3-bucket/target_folder ?
You should be able to use AWS_LOCATION
setting as documented here:
https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#usage