I didn't see it. You have a ForeignKey up above, yes, but the foreignkeys attribute that I mentioned is actually on the relation. I'm not positive that it was everything to fix this problem, but it did help my code.
On Tue, Jul 27, 2010 at 1:06 AM, Guyren G Howe <[email protected]> wrote: > On Jul 26, 2010, at 18:35 , Michael Pedersen wrote: > > > The one thing that I see as missing from this join is a ForeignKey, like > so: > > > > asset = relation(Asset, backref=backref('evidences'), primaryjoin= > device_id == Asset.device_id, foreign_keys=Evidence.id) > > I already have that very thing. Unless you're saying it goes somewhere > else? > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<turbogears%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/turbogears?hl=en. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

