Merge branch 'release/v12.66'
This commit is contained in:
@@ -2192,29 +2192,29 @@ class StandardCollection(models.Model):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
#class CourseStandard(models.Model):
|
class CourseStandard(models.Model):
|
||||||
# name = models.CharField(max_length=150)
|
name = models.CharField(max_length=150,default='')
|
||||||
# coursedistance = models.IntegerField()
|
coursedistance = models.IntegerField(default=0)
|
||||||
# coursetime = models.CharField(max_length=100,default="")
|
coursetime = models.CharField(max_length=100,default="")
|
||||||
# referencespeed = models.FloatField() # average boat speed
|
referencespeed = models.FloatField(default=5.0) # average boat speed
|
||||||
# agemin = models.IntegerField(default=0)
|
agemin = models.IntegerField(default=0)
|
||||||
# agemax = models.IntegerField(default=120)
|
agemax = models.IntegerField(default=120)
|
||||||
# boatclass = models.CharField(max_length=150) # corresponds to workout workouttype
|
boatclass = models.CharField(max_length=150,default='water') # corresponds to workout workouttype
|
||||||
# boattype = models.CharField(choices=mytypes.boattypes,max_length=50,default='1x')
|
boattype = models.CharField(choices=mytypes.boattypes,max_length=50,default='1x')
|
||||||
# sex = models.CharField(max_length=150)
|
sex = models.CharField(max_length=150,default='male')
|
||||||
# weightclass = models.CharField(max_length=150)
|
weightclass = models.CharField(max_length=150,default='hwt')
|
||||||
# adaptiveclass = models.CharField(choices=mytypes.adaptivetypes,max_length=50,default="None")
|
adaptiveclass = models.CharField(choices=mytypes.adaptivetypes,max_length=50,default="None")
|
||||||
# skillclass = models.CharField(max_length=150)
|
skillclass = models.CharField(max_length=150,default='Open')
|
||||||
# standardcollection = models.ForeignKey(StandardCollection,on_delete=models.CASCADE)
|
standardcollection = models.ForeignKey(StandardCollection,on_delete=models.CASCADE)
|
||||||
|
|
||||||
# class Meta:
|
class Meta:
|
||||||
# unique_together = (
|
unique_together = (
|
||||||
# ('name','standardcollection')
|
('name','standardcollection')
|
||||||
# )
|
)
|
||||||
|
|
||||||
|
|
||||||
# def __str__(self):
|
def __str__(self):
|
||||||
# return self.name
|
return self.name
|
||||||
|
|
||||||
registerchoices = (
|
registerchoices = (
|
||||||
('windowstart','Start of challenge Window'),
|
('windowstart','Start of challenge Window'),
|
||||||
|
|||||||
Reference in New Issue
Block a user