Commit ec61c3a9 authored by Star Neptune R. Sy's avatar Star Neptune R. Sy

forgot a dash at the dropdown label

parent 840d44c5
...@@ -7,7 +7,7 @@ class Course(models.Model): ...@@ -7,7 +7,7 @@ class Course(models.Model):
section = models.CharField(default="",max_length=16,) section = models.CharField(default="",max_length=16,)
def __str__(self): def __str__(self):
return '{} {}'.format(self.course_code, self.section,) return '{} - {}'.format(self.course_code, self.section,)
def anotherFormat(self): def anotherFormat(self):
return '{} {}'.format(self.course_code, self.course_title,) return '{} {}'.format(self.course_code, self.course_title,)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment