How can I execute an action after a model is created (.create & .bulk_create)

46 views Asked by At

Is there a preferred way of executing an action after a model instance is created in the database?

I know about signals. I know I can override the .save method. I know I can override the bulk one and atomically process each object in a transaction.

Is there anything like signals which trigger on model instance creation whatever the way of creation (even on bulk)? Thanks!

0

There are 0 answers