]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Fixed bug mostly local to new
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 15 Jul 2012 00:33:16 +0000 (20:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 15 Jul 2012 00:33:16 +0000 (20:33 -0400)
commitfce89ccf0c5561ff4747371619646aadc88c37cf
tree2b1d3c86c14c921728ec4333fdc9c3b2828e7952
parent800efc75256283770d5c28ddd99f26f341733698
  - [bug] Fixed bug mostly local to new
    AbstractConcreteBase helper where the "type"
    attribute from the superclass would not
    be overridden on the subclass to produce the
    "reserved for base" error message, instead placing
    a do-nothing attribute there.  This was inconsistent
    vs. using ConcreteBase as well as all the behavior
    of classical concrete mappings, where the "type"
    column from the polymorphic base would be explicitly
    disabled on subclasses, unless overridden
    explicitly.
CHANGES
lib/sqlalchemy/orm/descriptor_props.py
lib/sqlalchemy/orm/mapper.py
test/ext/test_declarative_inheritance.py
test/orm/inheritance/test_concrete.py