]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Some fixes to the state handling regarding
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Apr 2011 21:56:01 +0000 (17:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Apr 2011 21:56:01 +0000 (17:56 -0400)
commita645032262afc41cd39a85c9f56388341346a995
tree4ac392277e3075e27d75c28017ad1e7902a32d3a
parentfbf0c60800e0f01fc872c0770dc0fa1ed1b20cd0
- Some fixes to the state handling regarding
backrefs, typically when autoflush=False, where
the back-referenced collection wouldn't
properly handle add/removes with no net
change.  Thanks to Richard Murri for the
test case + patch.  [ticket:2123]
(also in 0.6.7).
CHANGES
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/state.py
test/orm/test_attributes.py
test/orm/test_backref_mutations.py