]> git.parisson.com Git - teleforma.git/commitdiff
fix course str
authoryomguy <yomguy@parisson.com>
Fri, 27 Apr 2012 20:47:02 +0000 (22:47 +0200)
committeryomguy <yomguy@parisson.com>
Fri, 27 Apr 2012 20:47:02 +0000 (22:47 +0200)
teleforma/models.py

index 6938a6fa9ca5457e88fd81029ef0871b4d098e6a..1a09e15fb68b3947b4fa80c4ab5bd9891584f888 100755 (executable)
@@ -127,7 +127,7 @@ class Course(Model):
     notes = generic.GenericRelation(Note)
 
     def __unicode__(self):
-        return ' - '.join([self.department.name, self.title, self.type.name])
+        return ' - '.join([self.title, self.type.name])
 
     @property
     def slug(self):