[web2py] Re: Prevent calling compute when doing an update

2012-12-16 Thread Daniel Gonzalez
Mmmm ... I see. I actually went another route: I am passing all existing parameters to the update_record function, changing only the password. By passing the existing parameters, it seems the compute function is not called. On Saturday, December 15, 2012 3:26:41 PM UTC+1, Massimo Di Pierro wrot

[web2py] Re: Prevent calling compute when doing an update

2012-12-15 Thread Massimo Di Pierro
You can set db.table.field.compute = lambda: only in the actions that need it. On Saturday, 15 December 2012 04:26:33 UTC-6, Daniel Gonzalez wrote: > > Hi, > > I am implementing a password update feature. I am doing something like > this: > > def change_pass(email, new_pass): > my_que