From 906e33a7a646eaf6d948c41fa8294bf52ea18f23 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Thu, 16 Jan 2014 11:23:05 +0100 Subject: [PATCH] Fix a typo in the relationship docs The text refers to ``boston_addresses``, while the code sample uses ``addresses``. --- doc/build/orm/relationships.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')") -- 2.47.3