mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-04-29 11:14:44 +00:00
nits
This commit is contained in:
parent
20eb7bd6d6
commit
7a470fb5bc
1 changed files with 3 additions and 3 deletions
|
|
@ -211,12 +211,12 @@ def model_instance_diff(
|
|||
|
||||
if old_value != new_value:
|
||||
if field.name in custom_fields_callbacks:
|
||||
deepdiff_result = custom_fields_callbacks[field.name](
|
||||
custom_diff_result = custom_fields_callbacks[field.name](
|
||||
old_value, new_value
|
||||
)
|
||||
diff[field.name] = (
|
||||
"[CUSTOM FIELD] Showing only the differences ->",
|
||||
deepdiff_result,
|
||||
"[CUSTOM FIELD] Showing only the differences in the 'To' field ->",
|
||||
custom_diff_result,
|
||||
)
|
||||
elif model_fields and field.name in model_fields["mask_fields"]:
|
||||
diff[field.name] = (
|
||||
|
|
|
|||
Loading…
Reference in a new issue