Fixed typo in docs/ref/contrib/admin/index.txt

This commit is contained in:
eltronix 2016-04-27 22:41:37 +03:00 committed by Tim Graham
parent fe70f280d7
commit fed7004b8a
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ subclass::
admin.site.empty_value_display = '(None)' admin.site.empty_value_display = '(None)'
You can also use :attr:`AdminSite.empty_value_display`:: You can also use :attr:`ModelAdmin.empty_value_display`::
class PersonAdmin(admin.ModelAdmin): class PersonAdmin(admin.ModelAdmin):
empty_value_display = 'unknown' empty_value_display = 'unknown'