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

Added tests for saving with pending actions in admin changelist.

This commit is contained in:
Jon Dufresne
2020-04-25 17:15:16 -07:00
committed by Mariusz Felisiak
parent 68fc21b378
commit bdff97d373
2 changed files with 51 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ site.register(Child, DynamicListDisplayChildAdmin)
class NoListDisplayLinksParentAdmin(admin.ModelAdmin):
list_display_links = None
list_display = ['name']
list_editable = ['name']
site.register(Parent, NoListDisplayLinksParentAdmin)