django rest framework 实现用户登录认证详解 1、安装pipinstalldjangorestframework2、创建项目及应用创建项目创建应用目录结构如图3、设置sett 用户登录认证