Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
c91229aa
Commit
c91229aa
authored
Mar 08, 2016
by
Xavier Ordoquy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PAGINATE_BY_PARAM and MAX_PAGINATE_BY removed in 3.3
parent
c90cf828
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
docs/api-guide/settings.md
+7
-13
No files found.
docs/api-guide/settings.md
View file @
c91229aa
...
...
@@ -133,31 +133,25 @@ The default page size to use for pagination. If set to `None`, pagination is di
Default: `
None
`
####
MAX_PAGINATE_BY
####
PAGINATE_BY_PARAM
---
**This setting
is pending deprecation
.**
**This setting
has been removed
.**
See the pagination documentation for further guidance on [setting the pagination style](pagination.md#modifying-the-pagination-style).
---
The maximum page size to allow when the page size is specified by the client. If set to `
None
`, then no maximum limit is applied.
For example, given the following settings:
#### MAX_PAGINATE_BY
REST_FRAMEWORK = {
'PAGINATE_BY': 10,
'PAGINATE_BY_PARAM': 'page_size',
'MAX_PAGINATE_BY': 100
}
---
A client request like the following would return a paginated list of up to 100 items.
**This setting is pending deprecation.**
GET http://example.com/api/accounts?page_size=999
See the pagination documentation for further guidance on [setting the pagination style](pagination.md#modifying-the-pagination-style).
Default: `
None
`
---
### SEARCH_PARAM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment