Hello,
But how to implement db foreign key constraint at web2py model level??
Thank you.
Richard
On Thu, Nov 18, 2010 at 2:41 PM, mdipierro wrote:
> good point.
>
> This will work:
>
>if request.post_vars.delete_this_record:
>del request.post_vars.delete_this_record
>db.t_
Thanks Massimo !
On Nov 18, 1:41 pm, mdipierro wrote:
> good point.
>
> This will work:
>
> if request.post_vars.delete_this_record:
> del request.post_vars.delete_this_record
> db.t_person.active.update=False
>
> there are two problems in your example:
> - you are using reque
good point.
This will work:
if request.post_vars.delete_this_record:
del request.post_vars.delete_this_record
db.t_person.active.update=False
there are two problems in your example:
- you are using request.vars and not request.post_vars which crud uses
and therefore the varia
3 matches
Mail list logo