From: Guillaume Pellerin Date: Tue, 16 Apr 2013 15:02:42 +0000 (+0200) Subject: add conf title to conf unicode X-Git-Tag: 2.8.1-pro~491^2~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=eb666add9cf6ea1b7108ff0734d1449623e45e40;p=teleforma.git add conf title to conf unicode --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 249e6d66..c4dd23d9 100755 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -508,13 +508,13 @@ class Conference(Displayable): def __unicode__(self): if self.professor: - list = [self.course.department.name, self.course.title, + list = [self.title, self.course.title, self.session, self.professor.user.first_name, self.professor.user.last_name, str(self.date_begin)] else: - list = [self.course.department.name, self.course.title, + list = [self.title, self.course.title, self.session, str(self.date_begin)] return ' - '.join(list)