[web2py:27120] Two tables that link to each other

2009-07-21 Thread JoshuaJ
It seems that in web2py, if one table is to have a foreign key to another table, the target table must be defined first in db.py. Does this mean that there is no way to have two tables that link to each other? Specifically: I'm writing a basic multi-user address book application. Each user, of co

[web2py:28099] Re: Two tables that link to each other

2009-08-06 Thread JoshuaJ
Python error; > ... > db.Field('owner', 'reference other_table')  # this is delayed evaluation, > and what you would use to have two tables cross link each other; > > > > On Tue, Jul 21, 2009 at 10:27 PM, JoshuaJ wrote: > > > It seems that in web2py, i