1、步骤 1.获取用户输入的用户名、密码、验证码 2.验证参数,先写错误的逻辑 3.保存用户信息 4.登录成功跳转首页
views.py
import hashlib from django.shortcuts import render, HttpResponse, redirect from django.http import JsonResponse from app01 import models ##########登录功能########## def login(request)
京公网安备 11010502049817号