better names for categories
This commit is contained in:
@@ -243,15 +243,9 @@ def update_records(url=c2url,verbose=True):
|
||||
|
||||
|
||||
class CalcAgePerformance(models.Model):
|
||||
weightcategories = (
|
||||
('hwt','heavy-weight'),
|
||||
('lwt','light-weight'),
|
||||
)
|
||||
weightcategories = mytypes.weightcategories
|
||||
|
||||
sexcategories = (
|
||||
('male','male'),
|
||||
('female','female'),
|
||||
)
|
||||
sexcategories = mytypes.sexcategories
|
||||
|
||||
weightcategory = models.CharField(default="hwt",
|
||||
max_length=30,
|
||||
@@ -288,10 +282,7 @@ class PowerTimeFitnessMetric(models.Model):
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class C2WorldClassAgePerformance(models.Model):
|
||||
weightcategories = (
|
||||
('hwt','heavy-weight'),
|
||||
('lwt','light-weight'),
|
||||
)
|
||||
weightcategories = mytypes.weightcategories
|
||||
|
||||
sexcategories = (
|
||||
('male','male'),
|
||||
@@ -593,10 +584,8 @@ sexcategories = (
|
||||
('female','female'),
|
||||
('not specified','not specified'),
|
||||
)
|
||||
weightcategories = (
|
||||
('hwt','heavy-weight'),
|
||||
('lwt','light-weight'),
|
||||
)
|
||||
|
||||
weightcategories = mytypes.weightcategories
|
||||
|
||||
|
||||
# Plan
|
||||
|
||||
Reference in New Issue
Block a user