擅长:python、mysql、java
<p>如果要保留两个单独的表单:</p>
<pre><code>if request.method == "POST" and "selectgenderform" in request.POST:
*something*
if request.method == "POST" and "selectionform" in request.POST:
*something*
</code></pre>
<p>您可能还必须将提交输入名称更改为“SelectGenPerform”和“selectionform”</p>