summaryrefslogtreecommitdiff
path: root/tests/admin_views/tests.py
diff options
context:
space:
mode:
authorantoliny0919 <antoliny0919@gmail.com>2025-02-28 12:17:17 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-03-04 10:36:37 +0100
commit5997fdc9214eafaaf2fadc065f1d2ced34641598 (patch)
tree15ce8c0452c96e1b1fdf8a2e0d173890fc1d7540 /tests/admin_views/tests.py
parent0e3a6c5fec53b2fa41c171ab43ad4d3bb9d72def (diff)
[5.2.x] 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> Backport of c09bceef68e5abb79accedd12dade16aa6577a09 from main.
Diffstat (limited to 'tests/admin_views/tests.py')
-rw-r--r--tests/admin_views/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 3be344f9e5..f814d9b3ab 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -3881,21 +3881,18 @@ class AdminViewStringPrimaryKeyTest(TestCase):
[cls.m1],
2,
change_message="Changed something",
- single_object=True,
)
LogEntry.objects.log_actions(
user_pk,
[cls.m1],
1,
change_message="Added something",
- single_object=True,
)
LogEntry.objects.log_actions(
user_pk,
[cls.m1],
3,
change_message="Deleted something",
- single_object=True,
)
def setUp(self):