Fixed #22756, added view name to technical 404 template 

when Http404 is raised by view.
could you add a test for a class-based view as well so these lines are tested?