Private
Public Access
1
0

now working with new otw power

This commit is contained in:
Sander Roosendaal
2020-09-19 17:37:17 +02:00
parent 0099fc678a
commit b98eed6eeb
5 changed files with 95 additions and 9 deletions

View File

@@ -2949,9 +2949,11 @@ def workout_otwsetpower_view(request,id=0,message="",successmessage=""):
#go_service = form.cleaned_data['go_service']
boattype = form.cleaned_data['boattype']
weightvalue = form.cleaned_data['weightvalue']
coastalbrand = form.cleaned_data['boatbrand']
boatclass = w.workouttype
w.boattype = boattype
w.weightvalue = weightvalue
w.boatbrand = coastalbrand
w.save()
@@ -2987,7 +2989,7 @@ def workout_otwsetpower_view(request,id=0,message="",successmessage=""):
emailaddress = u.email
job = myqueue(queuelow,
handle_otwsetpower,f1,boattype,boatclass,
handle_otwsetpower,f1,boattype,boatclass,coastalbrand,
weightvalue,
first_name,last_name,emailaddress,encoder.decode_hex(id),
ps=[r.p0,r.p1,r.p2,r.p3],