Private
Public Access
1
0

adding hrftp

This commit is contained in:
Sander Roosendaal
2018-04-09 16:04:47 +02:00
parent c4b10e5b0b
commit d6c9f04b73
3 changed files with 12 additions and 3 deletions

View File

@@ -478,6 +478,7 @@ class Rower(models.Model):
at = models.IntegerField(default=160,verbose_name="AT band lower HR")
tr = models.IntegerField(default=167,verbose_name="TR band lower HR")
an = models.IntegerField(default=180,verbose_name="AN band lower HR")
hrftp = models.IntegerField(default=0,verbose_name="FTP heart rate")
# Weight Category (for sync to C2)
weightcategory = models.CharField(default="hwt",
@@ -1427,7 +1428,7 @@ class RowerExportForm(ModelForm):
class RowerPowerForm(ModelForm):
class Meta:
model = Rower
fields = ['ftp','otwslack']
fields = ['hrftp','ftp','otwslack']
# Form to set rower's Power zones, including test routines
# to enable consistency