mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 22:52:26 +00:00
Add pagination to API results
This commit is contained in:
parent
59c48759f2
commit
b1738f189b
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ REST_FRAMEWORK = {
|
||||||
),
|
),
|
||||||
'DEFAULT_PERMISSION_CLASSES': (
|
'DEFAULT_PERMISSION_CLASSES': (
|
||||||
'api.permissions.DefaultACLPermission',
|
'api.permissions.DefaultACLPermission',
|
||||||
)
|
),
|
||||||
|
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
|
||||||
|
'PAGE_SIZE': 100
|
||||||
}
|
}
|
||||||
|
|
||||||
# API permission settings
|
# API permission settings
|
||||||
|
|
Loading…
Reference in a new issue