packagelarni ornatib sozlab chiqish kerak #2: issue bajarildi
This commit is contained in:
7
config/conf/djangorestframework.py
Normal file
7
config/conf/djangorestframework.py
Normal file
@@ -0,0 +1,7 @@
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication'
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user