• 2999 views
  • 0 comments
  • loading...

Deletes the record

Deletes the record

crud.delete(db.tablename, id)

Attributes / Arguments

 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.

message is the flash message upon form acceptance.


Examples

loading...

Sources / Reference

" web2py Book Chapter 7: Forms and Validatators" is licensed under Creative Common License BY-NC-ND 3.0


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)