我的表单代码是:
<td class="desc"><label>Description:<input type="text" name="desc"></label></td>
<td class="tags"><label>Tags:<input type="text" name="tag"></label></td>
<td><label>Public:<input type="radio" name="pri" value="1"></label>
<label>Private:<input type="radio" name="pri" value="0"></label></td>
在views.py中
meta['pri'] = request.POST.get('pri','')
为什么我选择私人按钮,值“pri”始终是“1”