From f74a44e850a685ac73c819ae7b96b0d68a8f734f Mon Sep 17 00:00:00 2001 From: Mahdi <111646898+mahdighadiriii@users.noreply.github.com> Date: Mon, 20 Oct 2025 19:56:55 +0330 Subject: [PATCH] Docs: Mention ?page=last in last_page_strings #9193 (#9800) --- docs/api-guide/pagination.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index 41887ffd8..e4e5f4979 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -108,7 +108,7 @@ To set these attributes you should override the `PageNumberPagination` class, an * `page_query_param` - A string value indicating the name of the query parameter to use for the pagination control. * `page_size_query_param` - If set, this is a string value indicating the name of a query parameter that allows the client to set the page size on a per-request basis. Defaults to `None`, indicating that the client may not control the requested page size. * `max_page_size` - If set, this is a numeric value indicating the maximum allowable requested page size. This attribute is only valid if `page_size_query_param` is also set. -* `last_page_strings` - A list or tuple of string values indicating values that may be used with the `page_query_param` to request the final page in the set. Defaults to `('last',)` +* `last_page_strings` - A list or tuple of string values indicating values that may be used with the `page_query_param` to request the final page in the set. Defaults to `('last',)`. For example, use `?page=last` to go directly to the last page. * `template` - The name of a template to use when rendering pagination controls in the browsable API. May be overridden to modify the rendering style, or set to `None` to disable HTML pagination controls completely. Defaults to `"rest_framework/pagination/numbers.html"`. ---