mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-04 11:32:13 +02:00
Display popups to create and join team
This commit is contained in:
@ -55,6 +55,10 @@ class Registration(PolymorphicModel):
|
||||
def type(self):
|
||||
raise NotImplementedError
|
||||
|
||||
@property
|
||||
def participates(self):
|
||||
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)
|
||||
|
Reference in New Issue
Block a user