摘要: 认证Authentication 可以在配置文件中配置全局默认的认证方案 也可以在每个视图中通过设置authentication_classess属性来设置 认证失败会有两种可能的返回值: 401 Unauthorized 未认证 403 Permission Denied 权限被禁止 权限Perm 阅读全文
posted @ 2019-08-24 17:04 Huanghongzheng 阅读(230) 评论(0) 推荐(0) 编辑