<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')
原创文章,作者:306829225,如若转载,请注明出处:https://blog.ytso.com/273807.html