1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 01:32:11 +02:00

If the tournament is free, then the payment is automatically valid

This commit is contained in:
Yohann D'ANELLO
2021-01-18 21:30:26 +01:00
parent 38dc00b2c9
commit d05a8339fe
5 changed files with 21 additions and 13 deletions

View File

@ -49,7 +49,7 @@ class Team(models.Model):
return self.participants.filter(studentregistration__isnull=False)
@property
def coachs(self):
def coaches(self):
return self.participants.filter(coachregistration__isnull=False)
@property