Closed
Description
It would be nice if the date of history entries could be set when creating or updating multiple instances.
Similar to what exists with the change_reason
and default_user
.
Describe the solution you'd like
The HistoryManager.bulk_history_create()
method should accept an keyword argument default_date
which is considered for setting the date on new history entries with higher precedence than _history_date
on the original instance.
The same should exposed on the utility functions bulk_create_with_history()
and bulk_update_with_history()
.
Metadata
Metadata
Assignees
Labels
No labels