There is also HttpResponseNotFound which has 404 status code. Maybe this is what you want for this case.