> Also, why doesn't this work?
> #controller
> user=db(db.auth_user.id==int(request.args(2))).select().first()
> ...
> return dict(user=user, ...)
>
> #view
> {{=user.id}}
If I change the variable "user" to "name", then the statements above
seems to work. Is "user" a keyword?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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.