Minor code error in docs for "Mixin and Custom Base Classes"
Issue #2294
resolved
The code example at this link has a mistake:
http://www.sqlalchemy.org/docs/orm/extensions/declarative.html#mixin-and-custom-base-classes
The MyModel
class has a __tablename__
declaration in it, and it shouldn't. Subsequent text states that MyModel
will have "a __tablename__
attribute that derives from the name of the class itself" and it obviously won't in the given code.
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.7.3 (automated comment)
- Log in to comment
01f04c06eccf5cd9f3d8d413289b0484a6563571