One easy solution for this is to override the __init__() of your model
and save the values of the properties you care about in a dictionary
within your instance, such as self.orig_values.
Then, override the save() and compare the values of your model to
self.orig_values to see if they've changed.
just an idea - use database triggers
On Sep 17, 12:53 pm, Julian wrote:
> hi,
>
> i'm writing a little statistical app for a django-project. everytime a
> very model is saved, something's stored in the db, depending on the
> model's attributes. if one of the attributes changes, I have to change
>
2 matches
Mail list logo