这里主要实现了get请求的方法。注意这里的render_to_response是TemplateResponseMixin中的方法。因此这两个类要配合使用。
或者自己重写render_to_response方法