include response.generic_patterns = ['*'] in your models or in your data controller, so you will be able to use generic views.
On Fri, Jan 27, 2012 at 9:01 AM, Gian Luca Decurtins <decur...@gmail.com>wrote: > Hi all > > I'm trying to use the CRUD-feature of web2py (1.99.4). At the moment I'm > stuck at "invalid view (default/data.html)" while accessing > https://localhost/init/default/data/tables. > So far I've created a simple application "init" and changed the following: > > In controllers/default.py I've disabled required_signature (I did not want > to play around with permissions at this time): > @auth.requires_login() > # @auth.requires_signature() > def data(): return dict(form=crud()) > > In views/default.html I've added a link beneath the message: > {{=A('table',_href=URL('data/tables',user_signature=True))}} > > If I follow this link (after authenticating) I just receive the error > message: > invalid view (default/data.html) > I did expect something like a list of tables. > > Out of the box there seems to be no default/data.html view. > Do I have to write my own data.html view to test the CRUD functionality? > Or did I do something wrong in the setup? > > Regards > -Gian. > -- Bruno Rocha [http://rochacbruno.com.br]