From bcefc7b88bf534e2fbe09c2966114ad2ca8dfc91 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 19 Dec 2013 17:45:35 +0100 Subject: [PATCH] fix str --- teleforma/models/pro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.39.5