This commit is contained in:
Pratyush Desai 2022-01-08 12:02:25 +05:30
parent 2dae592258
commit b690967d5d
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD

View File

@ -128,5 +128,9 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 10
'PAGE_SIZE': 10,
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
]
}