0
表单数据我有一个简单的表格保存从纯HTML到数据存储
<form name="input" action="" method="get">
Username: <input type="text" name="user" id = "xxx">
<input type="submit" value="Submit">
</form>
在view.py我想要写一个函数来获取值用户输入
def add(request):
if request.method =="POST":
abc=request.args.get('xxx')
return render_to_response('myapp/addtour.html')
但事实并非如此工作。请告诉我如何在Google App Engine或Django中执行此操作