[Answered ]-Django Http404 returns status=200

1👍

You should specify the status=… [Django-doc] code in your render call, this is by default a 200:

def error_404(request, exception):
    return render(request,'MyApp/404.html', status=404)

Leave a comment