Many to many Field - Accessing attributes
<p>I have these two models related by a ManyToManyField:</p>

<pre><code>class Bar(models.Model):
    name = models.CharField(max_length=25, blank=False)

class Foo(models.Model):

    bar = models.ManyToManyField(Bar, blank=True, related_name='bb')

    def __unicode__(self):
        return '%s' % self.bar.name
</code></pre>

<p>In the admin page I get this error:</p>

<pre><code>Exception Type: AttributeError
Exception Value: 'ManyRelatedManager' object has no attribute 'name'
</code></pre>

<p>How can I access to the name of <em>bar</em> in <em>Foo</em>? I see the dot notation is not valid.</p>