]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Can now call make_transient() on an instance that
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jun 2010 18:04:13 +0000 (14:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jun 2010 18:04:13 +0000 (14:04 -0400)
commit27b9b3578ddf421f990cd7a2ab7c9635178b210b
tree36ea0dc0c51ddf5e2ad440977fd9b6f91b53b9b0
parent1769b2d8deb8aa97c6f8df500c1355f4206d1484
- Can now call make_transient() on an instance that
is referenced by parent objects via many-to-one,
without the parent's foreign key value getting
temporarily set to None - this was a function
of the "detect primary key switch" flush handler.
It now ignores objects that are no longer
in the "persistent" state, and the parent's
foreign key identifier is left unaffected.
CHANGES
lib/sqlalchemy/orm/dependency.py
test/orm/test_naturalpks.py