thanks.
On Sat, Mar 12, 2011 at 10:07 PM, Massimo Di Pierro
wrote:
> It is not a web2py bug. web2py it is just telling you that GAE cannot
> do this, because there are no expressions on GAE.
>
> Instead of this:
>
> db(db.user.id == session.user_id).update(post_num = db.user.post_num
> + 1)
>
>
It is not a web2py bug. web2py it is just telling you that GAE cannot
do this, because there are no expressions on GAE.
Instead of this:
db(db.user.id == session.user_id).update(post_num = db.user.post_num
+ 1)
do
db(db.user.id == session.user_id).update(post_num = auth.user.post_num
+ 1)
and
2 matches
Mail list logo