hi,
I am trying to execute this
def add():
return dict(form=t2.create(db.Accomodation, onaccept=lambda form:\
t2.add_access(db.Accomodation,form.vars.id)\
and db.listing_owner.insert(person_id=t2.person_id,
Accomodation_id=form.vars.id)\
and listing(form.vars.id)\
and img_conv(form.vars.id)))
but only the first three function in the lambda gets executed. I tried
various permutations, but its always the first three functions only.
Is it a bug or a feature or restriction?
Thanks in advance
Vihang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---