Re: [sqlalchemy] Re: Question about the other property of backref

2016-02-25 Thread
Thanks! This is exactly what I was looking for. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group,

[sqlalchemy] Re: Question about the other property of backref

2016-02-24 Thread
Thanks for your response. Do you consider using `backref` only on one of the class bad practice? I'm curious because automatically creating descriptors seems possible to me, and I'm wondering when it happens. As documentation states so: Remember, when the backref keyword is used on a single

[sqlalchemy] Question about the other property of backref

2016-02-24 Thread
Following the ORM tutorial of `User` and `Address`, if I configure a `user` attribute on `Address`: class Address(Base): __tablename__ = 'addresses' id = Column(Integer, primary_key=True) email_address = Column(String, nullable=False) user_id = Column(Integer,