Forums

Django media upload

Everything worked before but after deployment whenever ever I upload to database it doesn't appear on the media folder and if I try clicking on the file on my site it shows 404 not found

You're probably using relative paths without paying attention to the working directory when you're doing the upload. See https://help.pythonanywhere.com/pages/NoSuchFileOrDirectory/

I have tried and debugged but no progress

What do you mean by " upload to database"?