]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix typos in assoc_proxy doc
authorGaëtan de Menten <gdementen@gmail.com>
Mon, 27 Aug 2007 10:15:36 +0000 (10:15 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Mon, 27 Aug 2007 10:15:36 +0000 (10:15 +0000)
doc/build/content/plugins.txt

index 1f2971fdf47fc2807aa7cbf5c0165ab5ccce2192..eb80e6b82c72379dd9c7c7f4a9f14450938ff713 100644 (file)
@@ -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: