Complete the code to set the list display to show the 'title' field in Django admin.
class BookAdmin(admin.ModelAdmin): list_display = ('[1]',)
The list_display attribute controls which fields show in the admin list view. Here, 'title' is the correct field to display.
Complete the code to add 'author' to the list display in Django admin.
class BookAdmin(admin.ModelAdmin): list_display = ('title', '[1]')
Adding 'author' to list_display shows the author field in the admin list view alongside title.
Fix the error in the list_display tuple to correctly show 'title' and 'author'.
class BookAdmin(admin.ModelAdmin): list_display = ('title'[1]'author')
Tuple items must be separated by commas. Without a comma, Python syntax is invalid.
Fill both blanks to configure list_display to show 'title' and 'published_date'.
class BookAdmin(admin.ModelAdmin): list_display = ('[1]', '[2]')
The list_display tuple includes the fields 'title' and 'published_date' to show both in the admin list.
Fill all three blanks to configure list_display to show 'title', 'author', and 'isbn'.
class BookAdmin(admin.ModelAdmin): list_display = ('[1]', '[2]', '[3]')
The list_display tuple includes 'title', 'author', and 'isbn' to show these fields in the admin list view.