>
> I tried adding a method using:
> def SomeMethod(fields,res):
>     print "inside SomeMethod"
>
> db.my_table._after_insert.append(SomeMethod)
>
> but nothing seems to happen. Is it possible that the implementation of the 
> adapters
> does not call the methods inside _after_insert, _after_update and 
> _after_delete?
>

I would think it should work. Have you also defined any _before_insert 
functions -- if they return anything, the insert will be aborted? Also, are 
you sure the insert is happening -- if not, the _after_insert functions 
won't run. You may need to show more code.

Anthony 

Reply via email to