Files
Horeka-365-backend/config/conf/rest_framework.py
2025-08-28 16:43:33 +05:00

9 lines
378 B
Python

REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": [
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
'rest_framework_simplejwt.authentication.JWTAuthentication',
],
'DEFAULT_PAGINATION_CLASS': 'core.apps.shared.paginations.custom.CustomPageNumberPagination',
'PAGE_SIZE': 10
}