📅  最后修改于: 2022-03-11 14:46:56.277000             🧑  作者: Mango
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
]
}