]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add additional logic that duplicates mapper's prop.copy(); prop.columns.append...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2010 00:29:04 +0000 (20:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2010 00:29:04 +0000 (20:29 -0400)
commit83a87b3f5499cdd28a4e8e79f01f2f477793d560
tree0af2b3adc02b966ed042962faec24fc94837ac49
parent755aca7f5f3f33339dce4f4b6b92b8b7a9c3d180
- add additional logic that duplicates mapper's prop.copy(); prop.columns.append(col)
logic when columns are present in a joined subclass with an attribute name different
than the column name itself [ticket:1931]
- add coverage to verify that we need to check (obj.name or name) when
deciding if a Column from a mixin should be added to the mapped table
CHANGES
lib/sqlalchemy/ext/declarative.py
lib/sqlalchemy/orm/mapper.py
test/ext/test_declarative.py