Private
Public Access
1
0

manually adding ranking pieces works

This commit is contained in:
Sander Roosendaal
2017-11-18 17:38:01 -07:00
parent b21c0c122f
commit ec287cc4b5
2 changed files with 38 additions and 12 deletions

View File

@@ -3135,12 +3135,16 @@ def addmanual_view(request):
pytz.timezone(thetimezone)
)
df = dataprep.create_row_df(distance,duration,startdatetime)
id,message = dataprep.new_workout_from_df(r,df,
title = name,
parent = None,
)
print name
id,message = dataprep.create_row_df(r,
distance,
duration,startdatetime,
title = name,
notes=notes,
workouttype=workouttype)
if message:
messages.error(request,message)