]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- "delete-orphan" cascade is now allowed on
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Jun 2011 23:01:52 +0000 (19:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Jun 2011 23:01:52 +0000 (19:01 -0400)
commitc25412d90a1ad13fd09618aa5f21a0d109251002
treed586bdb3cd0118b3f9757ca77741e3174d3600e0
parent1dfcbf6156abbc5a148011c93bffb734e1cf8e58
- "delete-orphan" cascade is now allowed on
self-referential relationships - this since
SQLA 0.7 no longer enforces "parent with no
child" at the ORM level; this check is left
up to foreign key nullability.
Related to [ticket:1912]
- a lot of cleanup and refactoring on relationship()
init, clarification
CHANGES
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_cascade.py