In your function you can do db.._enable_record_versioning()
. Record versioning is automatic on update so you can still use your
original onupdate callback.
check here and search for 'archive'
http://web2py.com/books/default/chapter/29/06
On Monday, March 25, 2013 4:27:01 AM UTC-4, 黄祥 wrote:
it works well, i define db.booking._enable_record_versioning() on
models/db.py and replace onupdate=auth.archive with the other function on
controller. thank you very much for your hint cliff.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" gro
2 matches
Mail list logo