how to upload file in a specific address using django admin panel?
I'm Developing a django admin panel that has image upload capability ,image upload works successfully , but i cant access to images from entering urls in browser . When I want to try to access to a picture like this : http://127.0.0.1:8000/media/485508.jpg I get this error : Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/media/485508.jpg Here Is My Codes : Models.py : picurl = models.ImageField() Settings.py : STATIC_URL = '/static/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_URL = 'http://127.0.0.1:8000/media/' if not os.path.exists(MEDIA_ROOT): os