diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-12-10 18:27:14 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-12-10 18:27:14 -0500 |
| commit | 741b8af31bb436356b9e8950c045761a0e054fe0 (patch) | |
| tree | f3f816cee909191edd1c2c7a67d643995eaef080 /lib/sqlalchemy/orm | |
| parent | d533b8e9223b9c938655e5b666fc928e2d996cd3 (diff) | |
| download | sqlalchemy-741b8af31bb436356b9e8950c045761a0e054fe0.tar.gz | |
- convert ORM tutorial and basic_relationships to favor
back_populates while still maintaining great familiarity
w/ backref so as not to confuse people. fixes #3390
Diffstat (limited to 'lib/sqlalchemy/orm')
| -rw-r--r-- | lib/sqlalchemy/orm/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/__init__.py b/lib/sqlalchemy/orm/__init__.py index e02a271e3..d9910a070 100644 --- a/lib/sqlalchemy/orm/__init__.py +++ b/lib/sqlalchemy/orm/__init__.py @@ -149,7 +149,12 @@ def backref(name, **kwargs): 'items':relationship( SomeItem, backref=backref('parent', lazy='subquery')) + .. seealso:: + + :ref:`relationships_backref` + """ + return (name, kwargs) |
