Re: [web2py] Re: intercepting SQLFORM delete

2010-09-09 Thread bally boy
Ya that is true.. Have been following the mailing list closely and will definitely agree with you..Massimo is amazing. In fact "Massimo is to web2py what Guido is to python"... wow that does sound good! :-) On Fri, Sep 10, 2010 at 9:58 AM, Richard wrote: > Wow so fast. Massimo you are amazi

[web2py] Re: intercepting SQLFORM delete

2010-09-09 Thread Richard
Wow so fast. Massimo you are amazing! On Sep 9, 11:26 pm, mdipierro wrote: > oops. fixed in trunk > > On Sep 9, 7:50 am, Richard wrote: > > > I want to do some preprocessing before permitting SQLFORM to delete a > > record: > > > topic = db.topic[topic_id] > > form = SQLFORM(db.topic, topic) >

[web2py] Re: intercepting SQLFORM delete

2010-09-09 Thread mdipierro
oops. fixed in trunk On Sep 9, 7:50 am, Richard wrote: > I want to do some preprocessing before permitting SQLFORM to delete a > record: > > topic = db.topic[topic_id] > form = SQLFORM(db.topic, topic) > if form.accepts(request.vars, session, dbio=False): >     if form.vars.get('delete_this_recor