vendredi 4 juin 2021

I am not able to upload images for my E commerce application. I am getting following errors. Can anyone review my error?

Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/img/uploads/products_img/jet-black-half-sleeve-t-shirt-men-s-plain-t-shirts-106-1560838106.jpg Using the URLconf defined in Eshop.urls, Django tried these URL patterns, in this order:

admin/ ^static/(?P.*)$ The current path, img/uploads/products_img/jet-black-half-sleeve-t-shirt-men-s-plain-t-shirts-106-1560838106.jpg, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Aucun commentaire:

Enregistrer un commentaire