Fixed #1966 -- Documented list_per_page Admin option

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-06-02 04:54:28 +00:00
parent 16a07fe95b
commit 12254540c7
1 changed files with 6 additions and 0 deletions

View File

@ -1239,6 +1239,12 @@ The above code results in an admin change list page that looks like this:
(This example also has ``search_fields`` defined. See below.) (This example also has ``search_fields`` defined. See below.)
``list_per_page``
-----------------
Set ``list_per_page`` to control how many items appear on each paginated admin
change list page. By default, this is set to ``100``.
``list_select_related`` ``list_select_related``
----------------------- -----------------------