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 *
>
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
2 matches
Mail list logo