nicer logs

This commit is contained in:
j 2013-10-07 09:18:53 +00:00
parent 4199b1277b
commit 6885e41084

View file

@ -325,7 +325,7 @@ class Item(models.Model):
def __unicode__(self):
year = self.get('year')
if year:
string = u'%s (%s)' % (self.get('title', 'Untitled'), self.get('year'))
string = u'%s (%s)' % (ox.decode_html(self.get('title', 'Untitled')), self.get('year'))
else:
string = self.get('title', u'Untitled')
return u'[%s] %s' % (self.itemId,string)