adding gold medal durations
This commit is contained in:
@@ -1561,7 +1561,7 @@ def performancemanager_view(request,userid=0,mode='rower',
|
||||
fitnesstest = 20
|
||||
metricchoice = 'trimp'
|
||||
modelchoice = 'tsb'
|
||||
usefitscore = False
|
||||
usegoldmedalstandard = False
|
||||
doform = therower.showfresh
|
||||
dofatigue = therower.showfit
|
||||
|
||||
@@ -1647,7 +1647,7 @@ def fitness_from_cp_view(request,userid=0,mode='rower',
|
||||
fitnesstest = 20
|
||||
metricchoice = 'trimp'
|
||||
modelchoice = 'tsb'
|
||||
usefitscore = False
|
||||
usegoldmedalstandard = False
|
||||
|
||||
# temp fit parameters
|
||||
k1 = 1
|
||||
@@ -1669,7 +1669,7 @@ def fitness_from_cp_view(request,userid=0,mode='rower',
|
||||
k2 = form.cleaned_data['k2']
|
||||
p0 = form.cleaned_data['p0']
|
||||
modelchoice = form.cleaned_data['modelchoice']
|
||||
usefitscore = form.cleaned_data['usefitscore']
|
||||
usegoldmedalstandard = form.cleaned_data['usegoldmedalstandard']
|
||||
else:
|
||||
form = FitnessFitForm()
|
||||
|
||||
@@ -1694,7 +1694,7 @@ def fitness_from_cp_view(request,userid=0,mode='rower',
|
||||
metricchoice=metricchoice,
|
||||
k1=k1,k2=k2,p0=p0,
|
||||
modelchoice=modelchoice,
|
||||
usefitscore=usefitscore,
|
||||
usegoldmedalstandard=usegoldmedalstandard,
|
||||
)
|
||||
|
||||
breadcrumbs = [
|
||||
|
||||
Reference in New Issue
Block a user