Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Formatting

Roland Geider37b81f8cf964
diff --git a/wger/exercises/api/serializers.py b/wger/exercises/api/serializers.py
index d850c4d9b..eabe18d36 100644
--- a/wger/exercises/api/serializers.py
+++ b/wger/exercises/api/serializers.py
@@ -90,8 +90,15 @@ class ExerciseImageSerializer(serializers.ModelSerializer):
class Meta:
model = ExerciseImage
fields = [
- 'id', 'uuid', 'exercise_base', 'image', 'is_main', 'style', 'license', 'license_author',
- 'author_history'
+ 'id',
+ 'uuid',
+ 'exercise_base',
+ 'image',
+ 'is_main',
+ 'style',
+ 'license',
+ 'license_author',
+ 'author_history',
]
@@ -104,9 +111,21 @@ class ExerciseVideoSerializer(serializers.ModelSerializer):
class Meta:
model = ExerciseVideo
fields = [
- 'id', 'uuid', 'exercise_base', 'exercise_base_uuid', 'video', 'is_main', 'size',
- 'duration', 'width', 'height', 'codec', 'codec_long', 'license', 'license_author',
- 'author_history'
+ 'id',
+ 'uuid',
+ 'exercise_base',
+ 'exercise_base_uuid',
+ 'video',
+ 'is_main',
+ 'size',
+ 'duration',
+ 'width',
+ 'height',
+ 'codec',
+ 'codec_long',
+ 'license',
+ 'license_author',
+ 'author_history',
]