either share the same MetaData object across those two models, or place the actual Column object instead of a string in the ForeignKey() constructor.
On Nov 4, 2008, at 7:16 AM, JV wrote: > > Hi > > How can I have a foreign key reference between the models of two > different TurboGears projects? > I am using sqlalchemy. > > JV > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---