1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 22:38:20 +02:00

Create team detail page

This commit is contained in:
Yohann D'ANELLO
2020-09-24 10:21:50 +02:00
parent cce3a0a7df
commit 8c70ef3835
8 changed files with 222 additions and 107 deletions

View File

@ -56,8 +56,7 @@ class Registration(PolymorphicModel):
return isinstance(self, StudentRegistration) or isinstance(self, CoachRegistration)
def __str__(self):
return _("registration of {first_name} {last_name}")\
.format(first_name=self.user.first_name, last_name=self.user.last_name)
return f"{self.user.first_name} {self.user.last_name}"
class Meta:
verbose_name = _("registration")