It is ok to do
search, rows = crud.search(table), crud.select(table)
Edited!
2010/11/4 villas
> http://www.web2py.com/book/default/chapter/07#CRUD
>
> I noticed this example in the book which does not seem correct:
>
> def manage():
>table=db[request.args(0)]
>form = crud.update(table,
http://www.web2py.com/book/default/chapter/07#CRUD
I noticed this example in the book which does not seem correct:
def manage():
table=db[request.args(0)]
form = crud.update(table,request.args(1))
table.id.represent = lambda id: \
A('edit:',id,_href=URL(args=(request.args(0),id
2 matches
Mail list logo