adding normalized power, trimp, rScore, and duplicate to workout api
This commit is contained in:
@@ -195,6 +195,7 @@ class WorkoutSerializer(serializers.ModelSerializer):
|
|||||||
'date',
|
'date',
|
||||||
'workouttype',
|
'workouttype',
|
||||||
'starttime',
|
'starttime',
|
||||||
|
'startdatetime',
|
||||||
'distance',
|
'distance',
|
||||||
'duration',
|
'duration',
|
||||||
'averagehr',
|
'averagehr',
|
||||||
@@ -207,7 +208,11 @@ class WorkoutSerializer(serializers.ModelSerializer):
|
|||||||
'inboard',
|
'inboard',
|
||||||
'oarlength',
|
'oarlength',
|
||||||
'privacy',
|
'privacy',
|
||||||
'rankingpiece'
|
'rankingpiece',
|
||||||
|
'trimp',
|
||||||
|
'rscore',
|
||||||
|
'normp',
|
||||||
|
'duplicate',
|
||||||
)
|
)
|
||||||
|
|
||||||
def create(self, validated_data): # pragma: no cover
|
def create(self, validated_data): # pragma: no cover
|
||||||
|
|||||||
Reference in New Issue
Block a user