]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the column assigned to polymorphic_on now behaves like any other
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Nov 2010 21:25:12 +0000 (16:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Nov 2010 21:25:12 +0000 (16:25 -0500)
commit3906eed72bb1372e70977092d4900459a97d8e74
tree190fe6620522df534bed5fb1e5c9350b2ec2284d
parentea55a4644c63358324ce4066c501c048c7a661a6
- the column assigned to polymorphic_on now behaves like any other
mapped attribute, in that it can be assigned to, mapped to multiple
columns.  It is also populated immediately upon object construction
with its class-based value, so the attribute can be read before
any flush occurs.  [ticket:1895]
lib/sqlalchemy/orm/mapper.py
test/orm/inheritance/test_basic.py