mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 23:04:21 +00:00
🔧 Enforce pagination by 100
This commit is contained in:
parent
218a9401c4
commit
2895c92615
1 changed files with 3 additions and 1 deletions
|
@ -144,7 +144,9 @@ REST_FRAMEWORK = {
|
|||
# or allow read-only access for unauthenticated users.
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||
]
|
||||
],
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
|
||||
'PAGE_SIZE': 100,
|
||||
}
|
||||
|
||||
# Logging
|
||||
|
|
Loading…
Reference in a new issue