That's it I'm going to bed!  =)

Thanks
Ronald

On Jan 11, 2006, at 11:31 PM, nerkles wrote:


either:

tasks = MultipleJoin("Task", joinColumn='owner_id')

Or:

class Task(SQLObject):
        name = StringCol()
        person = ForeignKey("Person")

This is because your Person class automatically has a SQL column named
'person_id'. Because you named the ForeignKey 'owner', SQLObject was
looking for a column named 'owner_id' which doesn't exist. So either of
the above changes will fix your problem.


________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog



Reply via email to