Add debug 404/500 pages by using TemplateView