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)
Source:stackexchange.com