Private
Public Access
1
0

adding all OTW types to OTW

This commit is contained in:
Sander Roosendaal
2020-08-24 21:45:13 +02:00
parent 568d3b0671
commit 03caf46581

View File

@@ -2262,14 +2262,13 @@ def otwrankings_view(request,userid=0,
theworkouts = Workout.objects.filter(
user=r,rankingpiece=True,
workouttype='water',
workouttype__in=mytypes.otwtypes,
startdatetime__gte=startdate,
startdatetime__lte=enddate
).order_by(
"-startdatetime"
)
delta,cpvalue,avgpower = dataprep.fetchcp(r,theworkouts)
runningjob = 0