'Restores a previously invalidated object
Called when self is about to be saved for the first time and is
actually "undeleting" a previously deleted object.  Can be overridden
by subclasses to copy data as desired from the deleted entry (but this
superclass implementation must normally be called).'

def resurrect_object(self, old_object):

    self.id = old_object.id
