mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #25513 -- Extracted admin pagination to Paginator.get_elided_page_range().
This commit is contained in:
committed by
Carlton Gibson
parent
f35840c196
commit
0a306f7da6
@@ -273,6 +273,14 @@ Models
|
||||
expressions that don't need to be selected but are used for filtering,
|
||||
ordering, or as a part of complex expressions.
|
||||
|
||||
Pagination
|
||||
~~~~~~~~~~
|
||||
|
||||
* The new :meth:`django.core.paginator.Paginator.get_elided_page_range` method
|
||||
allows generating a page range with some of the values elided. If there are a
|
||||
large number of pages, this can be helpful for generating a reasonable number
|
||||
of page links in a template.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user