Manjunath Gk
Manjunath Gk

Reputation: 449

django: automatically detect CRUD changes done on database

I'm building an application(log) which stores the CRUD operations done on database.Is there any way to detect the CRUD operations directly?

Upvotes: 2

Views: 1215

Answers (1)

zsquare
zsquare

Reputation: 10146

You can accomplish this using django's model signals.

Alternatively, you could use one of the many existing packages that provide this functionality. Find a comparison here: https://www.djangopackages.com/grids/g/model-audit/

Upvotes: 2

Related Questions