Re: [web2py] crud newbie > getting invalid function

2010-01-27 Thread Thadeus Burgess
can you give an example of the more complex example? -Thadeus On Wed, Jan 27, 2010 at 2:20 PM, weheh wrote: > I'm a crud newbie. I've read the doc v2 on crud and think I understand > it. So I tried the following: > > #model > db = DAL('sqlite://storage.sqlite') > from gluon.tools import * >

[web2py] crud newbie > getting invalid function

2010-01-27 Thread weheh
I'm a crud newbie. I've read the doc v2 on crud and think I understand it. So I tried the following: #model db = DAL('sqlite://storage.sqlite') from gluon.tools import * crud=Crud(globals(),db) db.define_table('test',Field('name','string')); #default.py controller def data: return dict(form=cru