翻译
菜单>:
TOC
返回
原文:
Also notice that while it is good policy to give a view to every controller function (called action in rails), you do not have to since web2py always provides a generic.html view that will render any page that is missing a template.
翻译:
还要注意,为每个controller函数(在Rails中叫action)给定一个view是一种好的习惯,不 过不一定非要如此,因为当没有指定view( *[译注:可以简单理解为模板]* )时,web2py 会总是使用 ``generic.html`` view来渲染任何页面。
备注:
译者: