'Return a list of template names to be used for the request. Must return
a list. May not be called if render_to_response() is overridden.'

def get_template_names(self):

    if (self.template_name is None):
        raise ImproperlyConfigured("TemplateResponseMixin    requires    either    a    definition    of    'template_name'    or    an    implementation    of    'get_template_names()'")
    else:
        return [self.template_name]
