]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed issue where two same-named relationships that refer to
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2016 18:34:42 +0000 (13:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jan 2016 18:34:42 +0000 (13:34 -0500)
commitb7bc704f3d05bed8d0771cbff65adcdb7b49f796
tree9e4cc6cd321fb38c64a65be653e9ce8220836e64
parent2a7f37b7b01930fb4e9227e5cab03ea26e0a4b55
- Fixed issue where two same-named relationships that refer to
a base class and a concrete-inherited subclass would raise an error
if those relationships were set up using "backref", while setting up the
identical configuration using relationship() instead with the conflicting
names would succeed, as is allowed in the case of a concrete mapping.
fixes #3630
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/relationships.py
test/orm/inheritance/test_concrete.py