I\'d like to return 410 errors at for some of my Django pages instead of returning 404s. Basically, instead of calling raise Http404(\'some error message\'), I woul
raise Http404(\'some error message\')
Return a HttpResponseGone, a subclass of HttpResponse, in your view handler.
HttpResponseGone