Closed saileshkush95 closed 3 years ago
I just try to make this work, but I'm not sure this is best approach or not
Whenever django-storage is in installed app, media file will be automatically uploaded to the aws server. Need to Include this configurations in settings file.
AWS_ACCESS_KEY_ID = "************************************" AWS_SECRET_ACCESS_KEY = "***************************************" AWS_STORAGE_BUCKET_NAME = "************************" AWS_S3_REGION_NAME = "**********************************" MEDIA_URL = f"https://{AWS_STORAGE_BUCKET_NAME}.s3.ap-south-1.amazonaws.com/media/"
I just try to make this work, but I'm not sure this is best approach or not
Whenever django-storage is in installed app, media file will be automatically uploaded to the aws server. Need to Include this configurations in settings file.