use TemplateView instead of direct_to_template. fixes django 1.5. compatibility