How to setup django media files folder with DO Apps and static sites components?

Connected Tutorial
This question is a follow-up to this tutorial:

I am following this tutorial to set up my Django app on the DO App platform.

Everything is working as expected other than media files. I tried different configurations and settings at my file but I am unsuccessful.

Do I need to add a media static site service for this? Or can I use the same static site? Any help will be appreciated.

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.

Has anyone figured out how to make MEDIA files work, similar to STATIC files other than using DO spaces? I tried adding another static component and configured the Route and the output to point to the media folder, in vain… I still get a 404.

Hopefully there is a part 2 of the tutorial addressing MEDIA files.

Thanks, idiallo

Did you find a way ??