]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- save-update and delete-orphan cascade event handler
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 18 Jul 2008 22:11:22 +0000 (22:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 18 Jul 2008 22:11:22 +0000 (22:11 +0000)
commit100c17229fbc61cbc1276615b0d21043a8b85176
treec35ab74fa4cd77e2868849aac1ad507d9b7fc381
parent5e7f90a1d62b04a0f866d8cd170c66e7b1f7ae7d
- save-update and delete-orphan cascade event handler
now considers the cascade rules of the event initiator only, not the local
attribute.  This way the cascade of the initiator controls the behavior
regardless of backref events.
CHANGES
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/unitofwork.py
test/orm/cascade.py