def friend_summary(self, count=7):
        friend_list = self.friends.all().select_related(depth=1)[:count]
        return u'[%s%s]' % (u', '.join(unicode(f.user) for f in friend_list),
                            u', ...' if self.friend_count() > count else u'')
Parse up to the start of the next address.
dataset/ETHPy150Open muhuk/django-simple-friends/friends/models.py/Friendship.friend_summary--crossover with--dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/rfc822.py/AddrlistClass.gotonext