Aaron
2009-10-07 17:01:59 UTC
I have a model with a particular field I'm interested in. If that
field is altered, I want to be able to access the former value of that
field (as well as the new value).
I've looked at pre_save() signals, models, and fields, and it seems
that I am only able to access the current (new) value of the field;
it's old value is lost.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
field is altered, I want to be able to access the former value of that
field (as well as the new value).
I've looked at pre_save() signals, models, and fields, and it seems
that I am only able to access the current (new) value of the field;
it's old value is lost.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---