Question

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 settings.py 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.

Subscribe
Share

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

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.

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 ??