I have two fields in the auth_user table which I don't want to be visible when the user edits his profile. In def user(): I set:
def user():
....
if request.args(0)=='profile':
db.auth_user.comment.readable=False
db.auth_user.comment.writable=False
db.auth_user.reply.readable=False
db.auth_user.reply.writable=False
....
return dict(form=form)
However, this doesn't work the fields are still shown. What is the
correct way to achieve this.
Kind regards,
Annet.

