I’ve been wondering about this for a while and I haven’t yet come up with a solution for it. On MySQL, I’d create a TRIGGER to automate saving revisions when changes happen and persist change values to the database to track revisions.
The question I have now is: how I can implement this in a more generic sense across most of my models in Django? Right now, I have just over 20 models and it’s quickly growing. Generating objects to store all of these items will multiply my models by at least 2 and doesn’t seem to be too optimal.
Is there a way I can automate this and make it a bit smarter and less cumbersome?
Check out django-reversion.