bmuller / twistar

Twistar is an object-relational mapper (ORM) for Python that uses the Twisted library to provide asynchronous DB interaction.
http://findingscience.com/twistar
Other
132 stars 38 forks source link

deleteAll() does not trigger beforeDelete() #25

Closed cato- closed 12 years ago

cato- commented 12 years ago

When using deleteAll() the method beforeDelete() is not called on the affected objects.

bmuller commented 12 years ago

This is by design. I've updated the docs to reflect this more clearly - http://findingscience.com/twistar/apidoc/twistar.dbobject.DBObject.html#deleteAll