Changed direct_to_template to TemplateView