]> git.parisson.com Git - teleforma.git/commitdiff
fix str
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Dec 2013 16:45:35 +0000 (17:45 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 19 Dec 2013 16:45:35 +0000 (17:45 +0100)
teleforma/models/pro.py

index 6ecf4b6e2139f3e0e3dd07ef21f42a2745232fd9..494b088234b05cc067a084700c71a44d8d38eb44 100755 (executable)
@@ -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])