Commit 92bda738 by Őry Máté

school: change default group name

parent e5b2f5f3
...@@ -44,7 +44,7 @@ class Course(models.Model): ...@@ -44,7 +44,7 @@ class Course(models.Model):
if self.default_group: if self.default_group:
return self.default_group return self.default_group
else: else:
default_group = Group(name=_("%s -- default") % self.short(), default_group = Group(name=_("%s (auto)") % self.short(),
semester=Semester.get_current(), course=self) semester=Semester.get_current(), course=self)
default_group.save() default_group.save()
self.default_group_id = default_group.id self.default_group_id = default_group.id
......
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 sign in to comment