I have a Django website set up on cPanel that is working fine - pages are served on my domain
Any images etc uploaded through Django's admin are saved to a directory I created at
. That's good, but I'm not sure how to serve those images.
For example, an image at
should be visible if I visit
in a browser. At the moment it's a 404.
How do I serve those images as part of my domain, that's otherwise serving a Django/python app?
Code:
www.example.org
Code:
~/example-org-media/
For example, an image at
Code:
~/example-org-media/hello.jpg
Code:
www.example.org/media/hello.jpg
How do I serve those images as part of my domain, that's otherwise serving a Django/python app?