152 | | * {{{modules/sahana.py}}} defines a new SQLFORM2() class which takes a record instead of a record_id |
153 | | * {{{CrudS3}}} modifies {{{Crud.create()}}} to take a record instead of a record_id & calls {{{SQLFORM2()}}} |
154 | | * {{{CrudS3}}} modifies {{{Crud.update()}}} to take a record instead of a record_id & calls {{{SQLFORM2()}}} |
| 152 | * {{{modules/sahana.py}}} defines a new {{{SQLFORM2()}}} class which takes a record as an option to a record_id |
| 153 | * {{{if type(record) == gluon.sql.Row:}}} |
| 154 | * {{{CrudS3}}} modifies {{{Crud.create()}}} to take a record as an option to a record_id & calls {{{SQLFORM2()}}} |
| 155 | * {{{CrudS3}}} modifies {{{Crud.update()}}} to take a record as an option to a record_id & calls {{{SQLFORM2()}}} |