You probably want to use something like db.task._after_insert.append(lambda fields,id: ......) But I cannot say more without a better understanding of your workflow. Can you provide a more complete use-case?
On Sunday, 28 April 2013 03:44:44 UTC-5, Simon Carr wrote: > > Hi All, > > It's been a while since I have posted on here, but have just started a new > project with Python and PyQt4. Because of my positive experience with > web2py in the past I wanted to make use of Gluon for the DAL in my app. > > So I have two table that I want a many to many relationship with. > > user > task > > I have created a third table > > user_task > -id_user > -id_task > > When I create a new task and assign it to many users do I have to update > user_task manually or is there a way for gluon to automate this? > > Thanks > Simon > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

