1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #25513 -- Adjusted admin pagination to be 1-indexed.

This commit is contained in:
Nick Pope
2020-07-30 12:45:32 +01:00
committed by Carlton Gibson
parent ee1ddcbab9
commit b203ec70fd
5 changed files with 32 additions and 26 deletions

View File

@@ -380,6 +380,12 @@ backends.
unique constraints (:attr:`.UniqueConstraint.include`), set
``DatabaseFeatures.supports_covering_indexes`` to ``True``.
:mod:`django.contrib.admin`
---------------------------
* Pagination links in the admin are now 1-indexed instead of 0-indexed, i.e.
the query string for the first page is ``?p=1`` instead of ``?p=0``.
:mod:`django.contrib.gis`
-------------------------