crud.delete(db.tablename, id) |
DAL table or a tablename the method should act on
record and record_id are the id of the record the method should act on.
next is the URL to redirect to after success. If the URL contains the substring "[id]" this will be replaced by the id of the record currently created/updated.
message is the flash message upon form acceptance.
" web2py Book Chapter 7: Forms and Validatators" is licensed under Creative Common License BY-NC-ND 3.0