Hi Folks, i'm using Django 1.11 and is et up everything properly but at the wrong url django redirecting to 500 page instead of 404 page.Please help me,How i can solve this problem? Here is my code:
*views.py* *def error_404(request): return render(request,'shop/product/404.html',status = 404)def error_500(request): return render(request,'shop/product/500.html',status = 500)* *urls.py* *from django.conf.urls import url,include,handler404,handler500* *handler404 = 'shop.views.error_404'handler500 = 'shop.views.error_500'* *settings.py* *debug = False* Guys please help!!! Thank You Regards, Soumen -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6WZN0Bj5cETJuoYPHMBE7u9_7Ux8Y-1AtVmF2gcsWwBabA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

