Re: [web2py] Re: Edit the regsitration form view and Profile

2012-05-15 Thread Kevin Miller
ok I see you corrected it. Thanks again. On Tue, May 15, 2012 at 7:10 AM, Kevin Miller wrote: > Thank you very much for your reply Alan. I had to add > db.auth_user.About_me.writable=False and > db.auth_user.About_Me.writable=False for it to work. > > On Tue, May 15, 2012 at 6:53 AM, Alan Etkin

Re: [web2py] Re: Edit the regsitration form view and Profile

2012-05-15 Thread Kevin Miller
Thank you very much for your reply Alan. I had to add db.auth_user.About_me.writable=False and db.auth_user.About_Me.writable=False for it to work. On Tue, May 15, 2012 at 6:53 AM, Alan Etkin wrote: > I guess you can disable those fields if the user is not logged in. Perhaps > adding this to the

[web2py] Re: Edit the regsitration form view and Profile

2012-05-15 Thread Alan Etkin
Oops, sorry. I meant db.auth_user..writable = False On Tuesday, May 15, 2012 8:53:07 AM UTC-3, Alan Etkin wrote: > > I guess you can disable those fields if the user is not logged in. Perhaps > adding this to the end of the model: > > if not auth.is_logged_in(): > db.auth_user.upload.readable

[web2py] Re: Edit the regsitration form view and Profile

2012-05-15 Thread Alan Etkin
I guess you can disable those fields if the user is not logged in. Perhaps adding this to the end of the model: if not auth.is_logged_in(): db.auth_user.upload.readable = False db.auth_user.About_Me.readable = False On Monday, May 14, 2012 8:18:05 PM UTC-3, dundee wrote: > > Hello All,