Private
Public Access
1
0

adding rpe and goldmedalstandard

This commit is contained in:
Sander Roosendaal
2020-12-02 15:17:37 +01:00
parent fe96b619e1
commit c909c401dc
3 changed files with 22 additions and 2 deletions

View File

@@ -4355,6 +4355,9 @@ def workout_edit_view(request,id=0,message="",successmessage=""):
notes = form.cleaned_data['notes']
newdragfactor = form.cleaned_data['dragfactor']
thetimezone = form.cleaned_data['timezone']
rpe = form.cleaned_data['rpe']
if not rpe:
rpe = -1
try:
ps = form.cleaned_data['plannedsession']
@@ -4421,6 +4424,7 @@ def workout_edit_view(request,id=0,message="",successmessage=""):
row.weightcategory = weightcategory
row.adaptiveclass = adaptiveclass
row.notes = notes
row.rpe = rpe
row.duration = duration
row.distance = distance
row.boattype = boattype