fix
This commit is contained in:
@@ -3267,6 +3267,9 @@ class IndoorVirtualRaceResult(models.Model):
|
||||
acceptsocialmedia = models.BooleanField(default=True,
|
||||
verbose_name = 'I agree with sharing my name in challenge related social media posts (unchecking this does not prevent you from participation)')
|
||||
|
||||
startsecond = models.FloatField(default=0)
|
||||
endsecond = models.FloatField(default=0)
|
||||
|
||||
def isduplicate(self,other):
|
||||
if self.userid != other.userid:
|
||||
return False
|
||||
@@ -3335,7 +3338,8 @@ class CourseTestResult(models.Model):
|
||||
duration = models.TimeField(default=datetime.time(1,0))
|
||||
distance = models.IntegerField(default=0)
|
||||
coursecompleted = models.BooleanField(default=False)
|
||||
|
||||
startsecond = models.FloatField(default=0)
|
||||
endsecond = models.FloatField(default=0)
|
||||
|
||||
|
||||
class IndoorVirtualRaceResultForm(ModelForm):
|
||||
|
||||
Reference in New Issue
Block a user