now working with new otw power
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user