﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33398	ModelAdmin.empty_value_display example in docs should use list_display.	Michael	Michael	"Firstly, the documentation is great. In the [https://docs.djangoproject.com/en/4.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.empty_value_display admin site docs], it has this example:

{{{
from django.contrib import admin

class AuthorAdmin(admin.ModelAdmin):
    fields = ('name', 'title', 'view_birth_date')

    @admin.display(empty_value='???')
    def view_birth_date(self, obj):
        return obj.birth_date]
}}}

I think this will only work for the list display, not setting the empty value of the field during edit view.
Hence I think 
{{{
fields = ('name', 'title', 'view_birth_date')
}}} 
should become 
{{{
list_display = ('name', 'title', 'view_birth_date')
}}}"	Cleanup/optimization	closed	Documentation	4.0	Normal	fixed			Ready for checkin	1	0	0	0	1	0
