[web2py] I cant get example in the book to work,

2011-11-20 Thread chawk
((book)) There a number of ways to customize auth. The simplest way is to add extra fields: # after auth = Auth(db) auth.setting.extra_fields['auth_user']= [ Field('address'), Field('city'), Field('zip'), Field('phone')] # before auth.define_tables(username=True) ((my db.py file looks

Re: [web2py] I cant get example in the book to work,

2011-11-20 Thread Bruno Rocha
On Sun, Nov 20, 2011 at 3:13 PM, chawk chrshawke...@gmail.com wrote: setting You trying to access auth.setting, it should be auth.*settings* -- Bruno Rocha [http://rochacbruno.com.br]