def __unicode__(self):
        try:
            term = self.term
        except Term.DoesNotExist:
            term = ''
        return u"%s: %s" % (self.name, term)
dataset/ETHPy150Open sunlightlabs/django-wordpress/wordpress/models.py/Taxonomy.__unicode__/original