From: Gaƫtan de Menten Date: Mon, 27 Aug 2007 10:15:36 +0000 (+0000) Subject: fix typos in assoc_proxy doc X-Git-Tag: rel_0_4beta6~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c64e0e6be3a1bc635d69c8d6a7a6362b2962f4cf;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix typos in assoc_proxy doc --- 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: