I have an app "Debug", a controller "reports.py", functions in that controller
"index" and "test" (plus a bunch of others).
def index(): return dict(message="reports index")
def test(): return dict(message="hello from reports.py")
In the directory structure ../views:
appadmin.html
/default:
display_debug_form.html
index.html
generic.csv
generic.html
layout.html
test.html
web2py_ajax.html
When I go to ../Debug/reports/test.html
I get the generic.html view instead of test.html
Contents of test.html:
{{response.files.append(URL(r=request,c='static/stylesheets',f='styles.css'))}}
{{extend 'layout.html'}}
What's up?
--
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:[email protected]>
512/203.3198 (m)