[sqlalchemy] declaring relations on both sides of a join

2010-02-11 Thread Chris Withers
Hi All, Is this the right way to do this: class Blog(Base): __tablename__='blog_entry' id = Column(Integer, primary_key=True) date = Column('dated', Date, nullable=False) title = Column(String(80)) entry = Column(Text()) owners_name =

Re: [sqlalchemy] declaring relations on both sides of a join

2010-02-11 Thread Michael Bayer
Chris Withers wrote: Hi All, Is this the right way to do this: class Blog(Base): __tablename__='blog_entry' id = Column(Integer, primary_key=True) date = Column('dated', Date, nullable=False) title = Column(String(80)) entry = Column(Text()) owners_name