[Answered ]-Serve media files with a static service. Dotcloud

2👍

The important thing to remember is that the static service and your django service on dotCloud are separate services, that have no common file system. So if you upload a file to your django service, it won’t be available to your static service.

For this use case I would recommend uploading your files to S3, and serving those files from there.

I would recommend Django-storages for this. Here is some documentation: http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html

Leave a comment