我的成长磨练,每天写博客,年轻人,卷起袖子,来把手弄脏吧! ------ 博客首页
摘要: auth模块 创建超级管理员 超级用户 用于登录django admin的后台管理 createsuperuser 校验用户名和密码是否正确 user_obj = auth.authenticate(username=username,password=password) # 返回的是数据对象 没有 阅读全文
posted @ 2019-11-13 18:51 不喜 阅读(235) 评论(0) 推荐(0) 编辑