Change course listing to show course numbers + title

This commit is contained in:
David Ormsbee
2012-07-16 16:56:25 -04:00
parent e8516c5a3e
commit 27ec1b4dcf
3 changed files with 11 additions and 2 deletions

View File

@@ -24,7 +24,11 @@ class CourseDescriptor(SequenceDescriptor):
@property
def title(self):
self.metadata['display_name']
return self.metadata['display_name']
@property
def course_number(self):
return self.location.course
@property
def instructors(self):