Commit 7ad0b235 authored by Star Neptune R. Sy's avatar Star Neptune R. Sy

Merge branch 'assignmentsv2' into 'main'

forgot a dash at the dropdown label

See merge request !20
parents 840d44c5 ec61c3a9
...@@ -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