Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
4352eea6
Commit
4352eea6
authored
Aug 02, 2019
by
Kenzo-Hugo Hillion
♻
Browse files
use pagination with page number
parent
163618b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/metagenedb/settings/django.py
View file @
4352eea6
...
...
@@ -104,7 +104,7 @@ REST_FRAMEWORK = {
'rest_framework.authentication.SessionAuthentication'
,
# 'rest_framework.authentication.BasicAuthentication',
),
'DEFAULT_PAGINATION_CLASS'
:
'rest_framework.pagination.
LimitOffset
Pagination'
,
'DEFAULT_PAGINATION_CLASS'
:
'rest_framework.pagination.
PageNumber
Pagination'
,
'PAGE_SIZE'
:
100
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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