use TemplateView instead of the removed direct_to_template