摘要: 介绍 使用Django自己的模型类实现用户认证,Django已经封装使用起来非常方便,使用前需要导入from django.contrib.auth.models import User 注册案例 def register_user(request): if request.method == "G 阅读全文
posted @ 2023-02-11 09:41 zhq9 阅读(9) 评论(0) 推荐(0) 编辑