From: Wichert Akkerman Date: Thu, 16 Jan 2014 10:23:05 +0000 (+0100) Subject: Fix a typo in the relationship docs X-Git-Tag: rel_0_9_2~46^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=906e33a7a646eaf6d948c41fa8294bf52ea18f23;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix a typo in the relationship docs The text refers to ``boston_addresses``, while the code sample uses ``addresses``. --- diff --git a/doc/build/orm/relationships.rst b/doc/build/orm/relationships.rst index e98ec657c7..67a41c8087 100644 --- a/doc/build/orm/relationships.rst +++ b/doc/build/orm/relationships.rst @@ -967,7 +967,7 @@ load those ``Address`` objects which specify a city of "Boston":: __tablename__ = 'user' id = Column(Integer, primary_key=True) name = Column(String) - addresses = relationship("Address", + boston_addresses = relationship("Address", primaryjoin="and_(User.id==Address.user_id, " "Address.city=='Boston')")