1django rest framework authentication
2===================================
3REST_FRAMEWORK = {
4 'DEFAULT_AUTHENTICATION_CLASSES': (
5 # 'rest_framework.authentication.BasicAuthentication',
6 # 'rest_framework.authentication.SessionAuthentication',
7 # 'rest_framework.authentication.TokenAuthentication',
8 # 'rest_framework_simplejwt.authentication.JWTAuthentication',
9 )
10}
1REST_FRAMEWORK = {
2 'DEFAULT_AUTHENTICATION_CLASSES': [
3 'rest_framework.authentication.BasicAuthentication',
4 'rest_framework.authentication.SessionAuthentication',
5 ]
6}