[Answer]-How to retrieve changes of an expired model using REST / Django rest framework


There are two possible approaches here:

  1. Add more fields to the model. These would be last_updated and fields_updated. There purpose is explained by their name hopefully.
  2. Use django-audit-log. You would then query the audit log table to find which fields had been updated since the last check.

In either case you’ll need to add a model to track when a user has accessed a row in a table.

Leave a comment