fix(core): Enable CenturionAudit model to get model history for item being deleted

ref: #773 #759
This commit is contained in:
2025-05-26 12:20:10 +09:30
parent 15ab6a7f70
commit df4ffa5e93

View File

@ -208,6 +208,9 @@ class CenturionAudit(
for field, value in before_encoded.items():
if field not in after_encoded:
continue
if after_encoded[field] == value:
del after_encoded[field]