摘要: Django自带认证系统 1.authenticate(username=username, password=password) 校验输入的用户密码是否正确时,可使用django自带的authenticate方法,若正确,则返回user对象,否则返回None from django.contrib 阅读全文
posted @ 2020-04-27 17:15 Alex-GCX 阅读(338) 评论(0) 推荐(0) 编辑