-
Notifications
You must be signed in to change notification settings - Fork 489
Description
Problem Statement
There is no attribute to skip saving a delete history entry when deleting an object.
Describe the solution you'd like
Either skip_history_when_saving
on the object should be honoured (like in the post_save
method) or a new skip_history_when_deleting
attribute should be introduced.
Describe alternatives you've considered
I'm hacking the settings to temporarily set SIMPLE_HISTORY_ENABLED = False
to avoid saving it.
Additional context
Implementation should be pretty straightforward like in the post_save
method: https://github.com/jazzband/django-simple-history/blob/106266f6d68f74d2d56b0553a368ca8070d5cbc4/simple_history/models.py#L541
vimuthm
Metadata
Metadata
Assignees
Labels
No labels