calculates age group 2k
This commit is contained in:
@@ -183,7 +183,7 @@ def make_records(readfile):
|
||||
save_agegroup(female_df,'hwt','female')
|
||||
save_agegroup(male_df,'hwt','male')
|
||||
save_agegroup(female_lw_df,'lwt','female')
|
||||
save_agegroup(female_lw_df,'lwt','male')
|
||||
save_agegroup(male_lw_df,'lwt','male')
|
||||
|
||||
|
||||
class C2WorldClassAgePerformance(models.Model):
|
||||
@@ -218,7 +218,7 @@ class C2WorldClassAgePerformance(models.Model):
|
||||
unique_together = ('agemin','agemax','sex','weightcategory','distance')
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name+':'+str(self.agemin)+'-'+str(self.agemax)+' ('+str(self.season)+')'
|
||||
return self.sex+' '+self.weightcategory+' '+self.name+':'+str(self.agemin)+'-'+str(self.agemax)+' ('+str(self.season)+')'
|
||||
|
||||
# For future Team functionality
|
||||
class Team(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user