single -
This commit is contained in:
parent
7167992486
commit
2a2d4c1a3a
@ -132,7 +132,7 @@ class School(AbstractBaseUser, PermissionsMixin):
|
|||||||
|
|
||||||
def updateTeam(self):
|
def updateTeam(self):
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
identifier = f'{Edition.current().year}-{self.id}'
|
identifier = f'{Edition.current().year}-{self.id}-'
|
||||||
|
|
||||||
Student.objects.filter(identifier__startswith=identifier).update(
|
Student.objects.filter(identifier__startswith=identifier).update(
|
||||||
school_name=self.name,
|
school_name=self.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user