I've cross posted this issue to the SQLObject e-mail list
([EMAIL PROTECTED]) as follows:
I have a very simple model (below) that does not seem to process
properly due (I'm guessing here) to the presence of the Foreign Key:
REPRO:
$ tg-admin shell (starts an ipython session)
1: p = Page(pagename="FooFoo")
4: dir(p)
'addColumn',
'addIndex',
'addJoin',
ERROR:
- there should be an addEntry in the Page object 'p'
#model.py
class Page(SQLObject):
pagename = StringCol(alternateID=True, length=30)
entries = MultipleJoin('Entry')
class Entry(SQLObject):
data = StringCol()
page = ForeignKey('Page')
Am I missing something here?
Please cc me as I am not subscribed to this list.
-Todd