[web2py] Add username to auth_users

2012-10-29 Thread Paul Hartley
I wish users to login using their username so I would like to add username to the users table. So far I have made this change auth.define_tables(username=True, signature=False) which adds the field(column) to the table. However I read that I should also impose uniqueness on the field by using

Re: [web2py] Add username to auth_users

2012-11-03 Thread Khalil KHAMLICHI
It should ho after auth.define On Oct 29, 2012 2:24 PM, "Paul Hartley" wrote: > I wish users to login using their username so I would like to add username > to the users table. > > So far I have made this change > > auth.define_tables(username=True, signature=False) > > which adds the field(colum