[Answered ]-Pillow upload path in pythonanewhere?

2👍

The two paths are different things, so using the same path doesn’t make sense. The upload_to path is a path to a directory on the server where the image should be uploaded. The path in the template is probably a URL path (it’s hard to tell without the actual template) and so it needs to point to where you’re serving the uploads from.

👤Glenn

Leave a comment