[Fixed]-Detect any changes made to Django models

1👍

Model signals are already going to be sent without your having to tell them to be, just as a part of Django models. You can set up listeners to the signals that are already being sent.

pre_delete or post_delete will cover your deletion case; pre_save and post_save will handle your update/create. post_save sends a created argument, which is True if a new record was created and False otherwise.

Leave a comment