- config.add_view(
- view=ServerIndex,
- route_name="server_index",
- attr="html",
- renderer="server_index.mako",
- accept="text/html"
- )
- config.add_view(
- view=ServerIndex,
- route_name="server_index",
- attr="json",
- renderer="json",
- accept="text/json"
- )
+ config.add_view(view=ServerIndex, route_name="server_index", attr="html",
+ renderer="server_index.mako", accept="text/html")
+ config.add_view(view=ServerIndex, route_name="server_index", attr="json", renderer="json",
+ accept="text/json")