summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@wiggy.net>2014-01-16 11:23:05 +0100
committerWichert Akkerman <wichert@wiggy.net>2014-01-16 11:23:05 +0100
commit906e33a7a646eaf6d948c41fa8294bf52ea18f23 (patch)
tree9aa184c5e9adf1afd4bde0d83fca549c226ce566
parent4765895d10ff4bc89f30c99fa709438fa9764b6c (diff)
downloadsqlalchemy-pr/59.tar.gz
Fix a typo in the relationship docspr/59
The text refers to ``boston_addresses``, while the code sample uses ``addresses``.
-rw-r--r--doc/build/orm/relationships.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/relationships.rst b/doc/build/orm/relationships.rst
index e98ec657c..67a41c808 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')")