]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Declarative will accept a table-bound column as a property
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Feb 2009 19:35:36 +0000 (19:35 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Feb 2009 19:35:36 +0000 (19:35 +0000)
commitb60185a078ec7143d44f5980043f143d53a9caf3
treed0531747b3bf3db5ddf2f5c4a3bf44e076845cbc
parente8b57a47cd3ffb4b7c43eb6e4eb1753d4379b1b9
- Declarative will accept a table-bound column as a property
when used in conjunction with __table__, if the column is already
present in __table__.  The column will be remapped to the given
key the same way as when added to the mapper() properties dict.
CHANGES
lib/sqlalchemy/ext/declarative.py
test/ext/declarative.py