From c64e0e6be3a1bc635d69c8d6a7a6362b2962f4cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ga=C3=ABtan=20de=20Menten?= Date: Mon, 27 Aug 2007 10:15:36 +0000 Subject: [PATCH] fix typos in assoc_proxy doc --- doc/build/content/plugins.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/build/content/plugins.txt b/doc/build/content/plugins.txt index 1f2971fdf4..eb80e6b82c 100644 --- a/doc/build/content/plugins.txt +++ b/doc/build/content/plugins.txt @@ -39,10 +39,10 @@ SQLAlchemy has a variety of extensions available which provide extra functionali def __init__(self, keyword): self.keyword = keyword - mapper(User, users, properties={ - 'kw': relation(Keyword, secondary=userkeywords) + mapper(User, users_table, properties={ + 'kw': relation(Keyword, secondary=userkeywords_table) }) - mapper(Keyword, keywords) + mapper(Keyword, keywords_table) Above are three simple tables, modeling users, keywords and a many-to-many relationship between the two. These ``Keyword`` objects are little more than a container for a name, and accessing them via the relation is awkward: -- 2.47.3