]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed the "set collection" function on "dynamic" relations
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Mar 2009 19:54:10 +0000 (19:54 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Mar 2009 19:54:10 +0000 (19:54 +0000)
commit18106b5e5b682aa6aff8ecbab4dae776895c74de
treecb97ecd3d82a6520c8689eb36e81ceab0494ce49
parent3223bafafef36e3bb314ea0a0658230eb80ca382
- Fixed the "set collection" function on "dynamic" relations
to initiate events correctly.  Previously a collection
could only be assigned to a pending parent instance,
otherwise modified events would not be fired correctly.
Set collection is now compatible with merge(),
fixes [ticket:1352].
CHANGES
lib/sqlalchemy/orm/dynamic.py
test/orm/dynamic.py