Relative Content

Tag Archive for djangoamazon-s3boto3django-storagecaprover

Django on CapRover Creates Local Directory Instead of Uploading Media to S3

I’m deploying a Django application using CapRover, and I’m running into an issue with django-storages s3 bucket. When I run the app locally, everything works fine, and media files are uploaded to my S3 bucket as expected. However, when I deploy the app to CapRover, Django creates a local directory named https:/bucketname.s3.amazonaws.com/media/ and stores the uploaded media files there instead of uploading them to S3.