我在以下链接( http://127.0.0.1:8000/cooking_recipes/default/images/nav-logo.png )中的默认视图文件夹中有一个图像,甚至在同一个文件夹中有一些脚本。是因为我正在为我的网站使用现成的模板。那么我怎么能说 web2py 那些只是图像和脚本而不是 html 视图?我发现 web2py 将它们视为视图并返回一个带有源代码视图源的 html 页面:http: //127.0.0.1 :8000/cooking_recipes/default/images/nav-logo.png
<html><body><h1>invalid function (default/images)</h1></body></html>