<input name=''> <input > <input type='submit' value='查询'>s ---- def add(request): #request.POST.get() 获取提交数据 name=request.POST.get('name') score=request.POST.get('score') context = { 'name': name, 'score': score, } print(context) return HttpResponse('success')