mirror of https://github.com/django/django.git
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:
parent
16a07fe95b
commit
12254540c7
|
@ -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``
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue