try putting primaryjoin=... inside the backref()

> I've been trying to recreate the self referential 'parent/child'
> mapper tutorial:
>
> http://www.sqlalchemy.org/docs/adv_datamapping.myt#advdatamapping_s
>elfreferential
>
> I keep getting the following error:
> Error determining primary and/or secondary join for relationship
> 'TreeNode.parent (TreeNode)'.
>
> I updated to 0.3.5 and have been digging through the archives
> trying different 'remote_side' combinations and keep getting the
> same error.
>
> Any help would be greately appreciated!
>
> -A

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to