[web2py] Modifying auth_users table with field in another table

2013-05-15 Thread Naujpr
Hello everyone. This is probably simple (noob here) but I'm kinda lost here. I am trying to establish a one to many relationship between the auth_user table and an office table. I have defined an office table: db.define_table('office', Field('name', 'string', notnull=True, unique=True),

[web2py] Re: Modifying auth_users table with field in another table

2013-05-16 Thread Naujpr
Thanks Niphlod! On Wednesday, May 15, 2013 5:50:59 PM UTC-4, Niphlod wrote: > > that you need to define the office table before the auth ones ^_^ > > On Wednesday, May 15, 2013 9:29:44 PM UTC+2, Naujpr wrote: >> >> Hello everyone. This is probably simple (noob here) but I&