add new apis

This commit is contained in:
behruz-dev
2025-08-01 17:28:48 +05:00
parent f757e42906
commit 4c6a0b4445
17 changed files with 205 additions and 42 deletions

View File

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