From: Guillaume Pellerin Date: Thu, 19 Dec 2013 16:45:35 +0000 (+0100) Subject: fix str X-Git-Tag: 2.8.1-pro~414 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bcefc7b88bf534e2fbe09c2966114ad2ca8dfc91;p=teleforma.git fix str --- diff --git a/teleforma/models/pro.py b/teleforma/models/pro.py index 6ecf4b6e..494b0882 100755 --- a/teleforma/models/pro.py +++ b/teleforma/models/pro.py @@ -105,7 +105,7 @@ class Seminar(ClonableMixin, Displayable): def __unicode__(self): if self.publish_date: - return ' - '.join([self.publish_date.year, self.course.title, str(self.rank), self.title]) + return ' - '.join([str(self.publish_date.year), self.course.title, str(self.rank), self.title]) else: return ' - '.join([self.course.title, str(self.rank), self.title])