Private
Public Access
1
0

calculates and stores start / end time

This commit is contained in:
Sander Roosendaal
2020-05-24 11:52:58 +02:00
parent 6f5462f013
commit d5f61d75ae
2 changed files with 20 additions and 5 deletions

View File

@@ -2926,6 +2926,9 @@ class VirtualRaceResult(models.Model):
emailnotifications = models.BooleanField(default=True,
verbose_name = 'Receive challenge notifications by email')
startsecond = models.FloatField(default=0)
endsecond = models.FloatField(default=0)
def __str__(self):
rr = Rower.objects.get(id=self.userid)
name = '{u1} {u2}'.format(