I have to do some extra logic in post_save if one of model fields was updated, but can't check if it was updated.
Tried to override init method like this
def __init__(self, *args, **kwargs):
super(Profile, self).__init__(*args, **kwargs)
self.__old_city = self.city
and in post_save check
if instance.city != instance.__old_city:
#extra logic
but got an exception
AttributeError: 'Profile' object has no attribute '__old_city'
What i'm doing wrong(except of using signals :D )?