Hi.
I'm wondering is there any way to determine changes made in relations
for particular object from the model save method?
Let's say that we have a model class with name and some many-to-many
field. Now for example through admin interface we change realtions for
our object. Btw objects history in admin application will not display
notification abut such action :). As far as i know saving relation
information takes place after saving object metadata (by manipulator's
save).
The reason i'm diging in is that i want some logging information about
all changes on my objects. My current idea is to override save for my
objects and introduce some application specific logging api. The
disadvantage of such solution will be lack of informations about
changes on relations from places other than my application (admin site
i.e.)
Does anyone have any ideas?

Kind regards


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to