diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 7b97ee56384..4449afaaa63 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -249,7 +249,7 @@ subclass:: from django.contrib import admin class AuthorAdmin(admin.ModelAdmin): - fields = ('name', 'title', 'view_birth_date') + list_display = ('name', 'title', 'view_birth_date') @admin.display(empty_value='???') def view_birth_date(self, obj):