mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-24 06:43:53 +00:00
pass_instances_as_well
This commit is contained in:
parent
f2fae05c0a
commit
03b4bf18fd
2 changed files with 4 additions and 2 deletions
|
|
@ -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 ->",
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -31,7 +31,6 @@ setup(
|
|||
install_requires=[
|
||||
"Django>=3.2",
|
||||
"python-dateutil>=2.7.0",
|
||||
"deepdiff==7.0.*",
|
||||
],
|
||||
zip_safe=False,
|
||||
classifiers=[
|
||||
|
|
|
|||
Loading…
Reference in a new issue