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