further tests in async tasks
This commit is contained in:
@@ -69,7 +69,7 @@ from rowers import mytypes
|
||||
|
||||
|
||||
from rowers.dataprepnodjango import (
|
||||
update_strokedata, new_workout_from_file,
|
||||
update_strokedata,
|
||||
getsmallrowdata_db, updatecpdata_sql,update_c2id_sql,
|
||||
update_workout_field_sql,
|
||||
update_agegroup_db,fitnessmetric_to_sql,
|
||||
@@ -771,15 +771,7 @@ def long_test_task2(self,aantal,**kwargs):
|
||||
|
||||
|
||||
|
||||
# create workout
|
||||
@app.task
|
||||
def handle_new_workout_from_file(r, f2,
|
||||
workouttype='rower',
|
||||
boattype='1x',
|
||||
makeprivate=False,
|
||||
notes='',debug=False):
|
||||
return new_workout_from_file(r, f2, workouttype,
|
||||
title, makeprivate, notes)
|
||||
|
||||
|
||||
# process and update workouts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user