Update generic view to allow for self.template_name.