Question

deploy django media files from directly digitalocean app platform

hello, I have a django project with and deployed it to digitalocean app platform. Everything is working good, but I have media files and they are uploaded to directory but didn’t displayed on website. In development mode it was just fine. I know that I can manage media files from amazon aws but I want to use directly digitalocean.

Thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey there!

Since all data stored in App Platform is ephemeral those files would be deleted on each deploy. In this case I would suggest you use Spaces to store those files. How to Store Data in App Platform

Hope that helps, Nate