diff options
| author | Gaëtan de Menten <gdementen@gmail.com> | 2007-08-27 10:15:36 +0000 |
|---|---|---|
| committer | Gaëtan de Menten <gdementen@gmail.com> | 2007-08-27 10:15:36 +0000 |
| commit | c64e0e6be3a1bc635d69c8d6a7a6362b2962f4cf (patch) | |
| tree | 55dbbadd0606c4aebf5f9622de5aba773abaa85d /doc | |
| parent | 6ebcdbd6d86787dedb12df6b86116bbf484e8ebb (diff) | |
| download | sqlalchemy-c64e0e6be3a1bc635d69c8d6a7a6362b2962f4cf.tar.gz | |
fix typos in assoc_proxy doc
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/content/plugins.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/content/plugins.txt b/doc/build/content/plugins.txt index 1f2971fdf..eb80e6b82 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: |
