def __unicode__(self): if self.title: return unicode(self.title) return truncate(unicode(self.body), 10)
def __unicode__(self): return truncate(unicode(self.body), 10)
def __str__(self): return truncate(str(self.body), 10)
def truncate_response(obj): return truncate(obj.response, 50)
def __unicode__(self): return truncate(six.text_type(self.body), 10)
def __unicode__(self): return truncate(unicode(self.body), 10)
def truncate_response(obj): return truncate(obj.response, 50)
def __unicode__(self): if self.title: return unicode(self.title) return truncate(unicode(self.body), 10)
def __str__(self): return truncate(six.text_type(self.body), 10)
def __str__(self): return truncate(six.text_type(self.body), 10)