extra_fields has been around a little while, but I think it was only 
recently added to the book (i.e., the recent 3.1 edition).

On Saturday, October 15, 2011 1:11:50 PM UTC-4, Lucidguppy wrote:
>
> Thanks - you wouldn't believe how many google searches I did - now I 
> find out its in the same book I'm looking at. 
>
> On Oct 15, 10:57 am, Anthony <abas...@gmail.com> wrote: 
> > Yes, seehttp://www.web2py.com/book/default/chapter/08#Customizing-Auth. 
> > There are two methods -- using auth.settings.extra_fields (if you just 
> want 
> > to add a few extra fields to the end of the table definition) or creating 
>
> > your own custom auth_user table definition (if you need more thorough 
> > customization). 
> > 
> > Anthony 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Saturday, October 15, 2011 10:50:28 AM UTC-4, Lucidguppy wrote: 
> > 
> > > In auth.define_tables - theres an argument to have a username in the 
> > > table. Which is nice to have. 
> > 
> > > Is there an easy way to use the default auth.define_tables but add a 
> > > couple of extra fields like "favorite_color" and 
> > > "what_is_your_quest"? 
> > 
> > > Thanks

Reply via email to