1
0
mirror of https://github.com/django/django.git synced 2025-10-28 08:06:09 +00:00

[4.0.x] Fixed #33083 -- Fixed selecting all items in the admin changelist when actions are both top and bottom.

Thanks Benjamin Locher for the report.

Regression in 30e59705fc.
Backport of b0ed619303 from main
This commit is contained in:
Carlton Gibson
2021-09-21 19:58:00 +02:00
committed by Mariusz Felisiak
parent 5b8cc4ce26
commit 8467c4ed3e
4 changed files with 22 additions and 8 deletions

View File

@@ -134,6 +134,7 @@ class NoListDisplayLinksParentAdmin(admin.ModelAdmin):
list_display_links = None
list_display = ['name']
list_editable = ['name']
actions_on_bottom = True
site.register(Parent, NoListDisplayLinksParentAdmin)