]> git.parisson.com Git - teleforma.git/commitdiff
Cleaned leading CRFPA label
authorGael Le Mignot <gael@pilotsystems.net>
Mon, 7 Jun 2021 07:53:02 +0000 (09:53 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Mon, 7 Jun 2021 07:53:02 +0000 (09:53 +0200)
teleforma/models/core.py

index fd560267c6712e3428191a5d40efc5ba479381d9..1586dcec3633f370517351ea08cae1dd8a6fc191 100755 (executable)
@@ -406,13 +406,13 @@ class Conference(models.Model):
 
     def __str__(self):
         if self.professor:
-            list = [self.course.department.name, self.course.title,
+            list = [self.course.title,
                     self.course_type.name, 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.course.title,
                     self.course_type.name, self.session,
                     str(self.date_begin)]
         return ' - '.join(list)