I would extend Auth and redefine the profile method so that it returns
a custom form.

class MyAuth(Auth):
    def profile(....): pass

On Jan 30, 12:08 am, weheh <richard_gor...@verizon.net> wrote:
> I'm building an app where anyone from the general public can join and
> gain access to some of the site's functionality, while paying members
> gain access to more functionality. Pretty typical. Since I expect lots
> more non-paying members than paying members, I don't want to clutter
> up auth_user with a bunch of information that only pertain to members.
> So I've created a separate member record that points to auth_user and
> the member record contains lots of goodies, like name, address,
> picture, bio, etc.
>
> The question is, how to get auth to display these extra fields when
> the user clicks on a link to the user/profile? Would I have to have a
> separate controller for editing member profiles and then redirect to
> it when a member requests to edit their profile? Anybody wish to
> comment whether architecturally I'm going about this the most
> efficient way?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to