Browse files

Documented meta.Admin list_select_related option from [1092]

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1b626e4 commit af4bef19add46f4673ac4c648c8805808ed65eec @adrianholovaty adrianholovaty committed Nov 6, 2005
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/model-api.txt
@@ -900,6 +900,14 @@ object, which takes the following parameters. All are optional.
(This example also has ``search_fields`` defined; see below).
+ Either ``True`` or ``False``. Default is ``False``. If ``True``, the admin
+ change list page will use the ``select_related`` database-API parameter in
+ its query that retrieves the list of items.
+ Note that Django will use ``select_related``, regardless of this setting,
+ if one of the ``list_display`` fields is a ``ForeignKey``.
A list or tuple (see the `META options`_, above) that gives a
different ordering for the admin change list. If this isn't given, the

0 comments on commit af4bef1

Please sign in to comment.