See http://web2py.com/book/default/chapter/08#Customizing-Auth. Make sure you define your custom tables after you instantiate Auth, but before you call auth.define_tables(). Anthony
On Monday, July 25, 2011 7:23:05 AM UTC-4, Simone Fiorenzoni wrote: > Hi to all, > > when I create a new application, the user/group db model is created > automatically. > How can I extend it? Should I redefine it? > I would like to add some fields and some foreign keys to users or > group. > > Thanks to all! (... and sorry for my english)