pass_instances_as_well

This commit is contained in:
Arjuna Del Toso 2024-10-29 15:18:19 -04:00
parent f2fae05c0a
commit 03b4bf18fd
2 changed files with 4 additions and 2 deletions

View file

@ -212,7 +212,10 @@ def model_instance_diff(
if old_value != new_value:
if field.name in custom_fields_callbacks:
custom_diff_result = custom_fields_callbacks[field.name](
old_value, new_value
old_value,
new_value,
old,
new,
)
diff[field.name] = (
"[CUSTOM FIELD] Showing only the differences in the 'To' field ->",

View file

@ -31,7 +31,6 @@ setup(
install_requires=[
"Django>=3.2",
"python-dateutil>=2.7.0",
"deepdiff==7.0.*",
],
zip_safe=False,
classifiers=[