use render() instead of render_to_response()