Comment on Django Model Lifecycle Hooks – Inspired by Rails CallbacksparentComments−rsinger87OP8yCool :)Yeah, my team hasn't found many cases where signals are preferable to overridding save(). The implementation of @hook is really just a wrapper around that approach - with the aim of a friendly, declarative interface.
Comments
Cool :)
Yeah, my team hasn't found many cases where signals are preferable to overridding save(). The implementation of @hook is really just a wrapper around that approach - with the aim of a friendly, declarative interface.