This commit is contained in:
behruz-dev
2025-08-06 13:59:45 +05:00
parent 7e0eb3ec57
commit 18ff76aaa6
15 changed files with 144 additions and 41 deletions

View File

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