Hi, Having used web2py for a while using hand-written controllers and views, I'm trying to see how far I can get with CRUD alone, but I'm seeing some odd behaviour.
If I create a controller called crm.py, and define "data" as a function as described in the book, when I call the function, [app]/crm/ data redirects to [app]/default/data/tables, e.g. reverting the controller name "crm" to "default". While I considered this I actually moved my function to default.py so I could carry on experimenting. >From the list of tables exposed at /default/data/tables, I can drill down to a list of records at e.g. [app]/default/data/select/client. However, if I attempt to drill down to the first record, I end up at [app]/default/read/client/1, which fails as the function name "data" is missing. Have I done something silly? My test examples are very simple, so I'm baffled. -- Thanks for any help, Clam