You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using HistoricalRecords(inherit=True, history_change_reason_field=...), calling update(history_change_reason=...) on the history model will update an incorrect model due to the reason field being shared between any derived model.
Describe the bug
When using
HistoricalRecords(inherit=True, history_change_reason_field=...)
, callingupdate(history_change_reason=...)
on the history model will update an incorrect model due to the reason field being shared between any derived model.To Reproduce
With the models
Run the following
Resulting in
Expected behavior
The correct historical model should be updated.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: