1
0
写了 68748 字,被 29 人关注,获得了 59 个喜欢
用户认证 django.contrib.auth中提供了许多方法,这里主要介绍其中的三个: 1 、authenticate() 提供了用户认证,即验证用户名以及密码是否正确,...