hi
in the section about crud
should there be
def data(): return dict(form=crud())
def create_tablename():
def update_tablename():
instead of
def data: return dict(form=crud())
def create_tablename:
def update_tablename:
and in
# assuming db.define_table('person', Field('name'))
def people():
form = crud.create(db.person, next=URL('index'),
message=T("record created"))
persons = crud.select(db.person, fields=['name'],
headers={'person.name', 'Name'})
return dict(form=form, persons=persons)
should there be
headers={'person.name': 'Name'})