admin.AdminSite.empty_value_display

AdminSite.empty_value_display

New in Django 1.9.

The string to use for displaying empty values in the admin site’s change list. Defaults to a dash. The value can also be overridden on a per ModelAdmin basis and on a custom field within a ModelAdmin by setting an empty_value_display attribute on the field. See ModelAdmin.empty_value_display for examples.

doc_Django
2016-10-09 18:33:23
Comments
Leave a Comment

Please login to continue.