<p>我有以下表格</p>
<pre><code>class RemoveMemberForm(Form):
member = forms.ModelChoiceField(queryset="",
empty_label='Choose a Member',
)
</code></pre>
<p>以及以下观点</p>
^{pr2}$
<p>我要做的是让第二个视图删除选定的成员并重定向到第一个视图。但是我被困在<code>AttributeError at /station/2/removemember</code>,这个URL对应于第二个视图<code>'str' object has no attribute 'model'</code></p>