[web2py] Re: Database auditing - comments please

2012-03-20 Thread Massimo Di Pierro
I will close that issues because now web2py has _before and _after hooks: db.table._before_insert.append(lambda fields: None) db.table._before_update.append(lambda query,fields: None) db.table._before_delete.append(lambda query: None) db.table._after_insert.append(lambda fields: None) db.table._af

[web2py] Re: Database auditing - comments please

2012-03-20 Thread nick name
On Tuesday, March 20, 2012 2:30:08 PM UTC-4, Rick Ree wrote: > > In case anyone else is using this, I found that 1.99.7 requires a change > at line 78: > > #rows = self.select(query, ['id'], {}) > rows = self.select(query, [table['id']], {}) > Please note that there is a ticket tracking t

[web2py] Re: Database auditing - comments please

2012-03-20 Thread Rick Ree
In case anyone else is using this, I found that 1.99.7 requires a change at line 78: #rows = self.select(query, ['id'], {}) rows = self.select(query, [table['id']], {}) On Monday, July 25, 2011 2:57:05 PM UTC-5, nick name wrote: > > Newer version attached, has been tested in one specifi

[web2py] Re: Database auditing - comments please

2011-07-25 Thread nick name
Newer version attached, has been tested in one specific app which brought up some issues with tables that have references to them (these have been fixed). Now patches instance instead of class (so web2py's normal reloading works equally well) Massimo / Jonathan - could you comment on the proba