mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 06:44:21 +00:00
🔧 Enforce pagination by 100
This commit is contained in:
parent
aab3476619
commit
b4555a2040
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