How do i upload django media directory to object storage
1 Reply
tlambert
Linode Staff
This guide titled Linode Object Storage for Django Static Files - Blog Post provides instructions for setting up your Django app with Linode Object Storage.
I haven't personally run through the guide to test it out, however based on the information provided, as long as you've run python manage.py collectstatic --noinput
from within the virtual enviornment and within your project directory, your static files should be uploaded to your bucket. If you have a separate media directory that is not getting uploaded, is it possible it is outside of your project directory?
You may also want to consult the django-storages
documentation.