Forums

Website not finding media (images) after account upgrade

Hi, I had my website using a free account and it was working fine. I upgraded to "Hacker" and now it doesn't find any of the images located in the media directory. I'm using Django and Pyhton 3.9. Edit: The way to manage static files with Django is different when you change "DEBUG" to "False" in settings. Which I did when I thought my website was ready, and upgraded my account!

I'm still trying to figure this out. But I edited my previous post in case this helps someone.

You need to serve the files: https://help.pythonanywhere.com/pages/DjangoStaticFiles/ and https://help.pythonanywhere.com/pages/DebuggingStaticFiles/

Thanks a lot.