Hi Timucin, You will have to provide more information, e.g. how you are trying to join the tables? and what errors you are getting? for people to be able to help you.
regards Sanjiv 2010/2/11 Timuçin Kızılay <[email protected]>: > I'm getting errors when I try to join multiple fields from one table to > another. can anybody help me? I'm stuch reading documents for hours with no > luck. > > here is the table definitions : http://pastebin.com/m1c358058 > > --------- > > class Person(DeclarativeBase): > __tablename__ = 'person' > id = Column(Integer,primary_key=True) > name = Column(Unicode(50), index=True, unique=True, nullable=False) > email = Column(Unicode(100), index=True) > address = Column(Unicode(255), index=True) > > #ürün tablosu > class Message(DeclarativeBase): > __tablename__ = 'message' > id = Column(Integer, primary_key=True) > message_text = Column(Unicode(1000), index=True) > from_person_id = Column(Integer, ForeignKey('person.id'), > nullable=False) > from_person = relation('Person', foreign_keys=from_person_id, > backref='messages_sent') > to_person_id = Column(Integer, ForeignKey('person.id'), nullable=False) > to_person = relation('Person', foreign_keys=to_person_id, > backref='messages_rcvd') > > ------------ > > > > -- > 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. > -- 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.

