diff options
| author | antoliny0919 <antoliny0919@gmail.com> | 2025-02-28 20:17:17 +0900 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-04 10:34:15 +0100 |
| commit | c09bceef68e5abb79accedd12dade16aa6577a09 (patch) | |
| tree | 6f0d89f6b5d517550ba10fd4002e4dc783118337 /tests/admin_changelist | |
| parent | 1759c1dbd1e3cd4c9fcd345269e0d25796468f7f (diff) | |
Fixed #36217 -- Restored pre_save/post_save signal emission via LogEntry.save() for single-object deletion in the admin.
Regression in 40b3975e7d3e1464a733c69171ad7d38f8814280.
Thanks smiling-watermelon for the report.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Diffstat (limited to 'tests/admin_changelist')
| -rw-r--r-- | tests/admin_changelist/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_changelist/tests.py b/tests/admin_changelist/tests.py index 17866c8ad6..6003ce47d8 100644 --- a/tests/admin_changelist/tests.py +++ b/tests/admin_changelist/tests.py @@ -1845,7 +1845,7 @@ class GetAdminLogTests(TestCase): """{% get_admin_log %} works without specifying a user.""" user = User(username="jondoe", password="secret", email="super@example.com") user.save() - LogEntry.objects.log_actions(user.pk, [user], 1, single_object=True) + LogEntry.objects.log_actions(user.pk, [user], 1) context = Context({"log_entries": LogEntry.objects.all()}) t = Template( "{% load log %}" |
