擅长:python、mysql、java
<p>更改:</p>
<pre><code>class Choice(models.Model):
poll = models.ForeignKey(Poll)
choice = models.CharField(max_length=200)
votes = models.IntegerField()
def ___unicode__(self):
return self.choice #shouldn't this return the choice
</code></pre>
<p>收件人:</p>
^{pr2}$
<p>第二个<code>__unicode__</code>定义中的下划线太多</p>