使用form实现登录 views from django.shortcuts import render,redirect,HttpResponse from app01 import models from app01 import myform from utils import md5_tool # Create your views here. def login(request): if request.method=='GET': return render(request,'aut