Django: Difference Between Two Model Instances
April 29th, 2008 | by clong | published in Django, Web Development
Just a quick snippet, I call this code on a site I’m working on to handle some basic moderation. It finds the difference between the two instances, and returns a dictionary of the changes. The key in the dictionary is the field name, each value in the dictionary is a tuple containing the new and [...]
