diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index a62e8575b83..33e6c578de5 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -617,6 +617,17 @@ subclass:: the HTML output, in the form of ``column-`` on each ```` element. This can be used to set column widths in a CSS file for example. + * Django will try to interpret every element of ``list_display`` in this + order: + + * A field of the model. + * A callable. + * A string representing a ``ModelAdmin`` attribute. + * A string representing a model attribute. + + For example if you have ``first_name`` as a model field and + as a ``ModelAdmin`` attribute, the model field will be used. + .. attribute:: ModelAdmin.list_display_links