On Thu, Jan 13, 2011 at 2:00 PM, pk <[email protected]>wrote:

> hi
>
> one question:
> def user():
>    if request.args(0) == 'logout':
>        query
>    return dict(form=auth())
> what is if i need there the auth.user.id???
>
> this is my query:
> db(db.nao.userid==auth.user.id).update_record(db.nao.ipadress="")
>
>
I think .update is a python method and .update_record is web2py method...


> is this possible? if not how can i do this?
>
> peter


Richard

Reply via email to