I have a lot of model classes in Django. NONE of them have an overridden save() or delete() function.

I want to create a Class level decorator which will be used to execute a function post save() / delete() is called. This class level decorator should be generic so that all the model classes can use it.

I have tried using the signals for post\_save and post\_delete, but maintaining a huge list of classes can be a problematic. I want to avoid overriding save()/delete() as well.

Any suggestions on how to go about it? Thanks in advance.