summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/activemapper.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-02-10 23:39:06 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-02-10 23:39:06 +0000
commit1da55184e52ae6698ab02c368a43b0c037b17049 (patch)
treeff3c9b90f1a6aaa5e9b50a21f489568eee50f783 /lib/sqlalchemy/ext/activemapper.py
parent648805f8b4d85aaaa221d2587e45259897d6b9f9 (diff)
downloadsqlalchemy-1da55184e52ae6698ab02c368a43b0c037b17049.tar.gz
- implemented foreign_keys argument on relation() [ticket:385]
- PropertyLoader figures out accurate remote_side collection based on foreign_keys, legacy foreignkey, primary/secondaryjoin/polymorphic - reworked lazyloader, sync to work straight off foreign_keys/ remote_side collections
Diffstat (limited to 'lib/sqlalchemy/ext/activemapper.py')
-rw-r--r--lib/sqlalchemy/ext/activemapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/activemapper.py b/lib/sqlalchemy/ext/activemapper.py
index 674cc9265..bcfbac632 100644
--- a/lib/sqlalchemy/ext/activemapper.py
+++ b/lib/sqlalchemy/ext/activemapper.py
@@ -93,7 +93,7 @@ class relationship(object):
else:
br_fkey = None
- return create_backref(self.backref, foreignkey=br_fkey)
+ return create_backref(self.backref, remote_side=br_fkey)
class one_to_many(relationship):