I'm glad I don't need two user tables. I ideally would want to stick to a single table.
On 15 October 2010 19:14, mdipierro <[email protected]> wrote: > Not necessarily and I would not do it that way but you can. > > > > On Oct 15, 1:12 pm, Carl <[email protected]> wrote: > > thanks M. > > > > Do I understand that your solution is to have two separate user tables in > > db.py? > > > > On 15 October 2010 18:42, mdipierro <[email protected]> wrote: > > > > > look into default. You can replace > > > > > def user(): return dict(form=auth()) > > > > > with > > > > > def agent(): return dict(form=auth()) > > > def candidate(): return dict(form=auth()) > > > > > and in the two functions you can set different default for auth_user > > > fields. > > > > > On Oct 15, 8:45 am, Carl <[email protected]> wrote: > > > > Is there a way to use [app]/default/agent instead of > app/default/user? > > > > > > I want to have two implementations of authentication (/agent and / > > > > candidate) > > > > >

