[PonyORM-list] Disable after_insert hook?

Matthew Bell matthewrobertbell at gmail.com
Tue Sep 13 16:57:08 UTC 2016


Of course, as soon as I send the email, I figure it out :)

del MyModel.after_insert

(The method won't be needed again in this process)

On 13 September 2016 at 17:40, Matthew Bell <matthewrobertbell at gmail.com>
wrote:

> Hello,
>
> For a very specific circumstance, I need to disable the after_insert hook
> on a pony model, is there a clean way of doing this?
>
> Thanks!
>
> --
> Regards,
>
> Matthew Bell
>



-- 
Regards,

Matthew Bell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20160913/798f1fe8/attachment.html>


More information about the ponyorm-list mailing list