mirror of https://github.com/django/django.git
Fixed typo in docs/ref/contrib/admin/index.txt
This commit is contained in:
parent
fe70f280d7
commit
fed7004b8a
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue