how show personalized error with get_object_or_404

Viewed 10864

I would like to know how to show personalized errors with the get_object_or_404 method. I don't want the normal Http404 pages, but I want to display a custom message with the message: the result is none.

Thanks :)

4 Answers
Related