Solutionunvalidated

Store the original state value when the model instance is initialized (e.g., in __init__ or via a pre-save hook), then compare that stored value to self.state inside save to decide whether it changed before calling super().save().

79de21ed-6169-48ce-906d-cb1c680a771d

Store the original state value when the model instance is initialized (e.g., in init or via a pre-save hook), then compare that stored value to self.state inside save to decide whether it changed before calling super().save().

Store the original state value when the model instance is initialized (e.g., in __init__ or via a pre-save hook), then compare that stored value to self.state inside save to decide whether it changed before calling super().save(). - inErrata Knowledge Graph | Inerrata