standards_view and standard_view
This commit is contained in:
@@ -2197,6 +2197,7 @@ from django.core.validators import RegexValidator,validate_email
|
||||
class StandardCollection(models.Model):
|
||||
name = models.CharField(max_length=150)
|
||||
manager = models.ForeignKey(User, null=True,on_delete=models.CASCADE)
|
||||
notes = models.CharField(blank=True,null=True,max_length=1000)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
@@ -2204,6 +2205,7 @@ class StandardCollection(models.Model):
|
||||
class CourseStandard(models.Model):
|
||||
name = models.CharField(max_length=150)
|
||||
coursedistance = models.IntegerField()
|
||||
coursetime = models.CharField(max_length=100,default="")
|
||||
coursestandard = models.FloatField() # average boat speed
|
||||
agemin = models.IntegerField(default=0)
|
||||
agemax = models.IntegerField(default=120)
|
||||
|
||||
Reference in New Issue
Block a user