Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Expose license information over the API

Roland Geider581064f7394d
diff --git a/wger/exercises/api/serializers.py b/wger/exercises/api/serializers.py
index a8cba04a1..e531d68f1 100644
--- a/wger/exercises/api/serializers.py
+++ b/wger/exercises/api/serializers.py
@@ -98,7 +98,11 @@ class ExerciseImageSerializer(serializers.ModelSerializer):
'is_main',
'style',
'license',
+ 'license_title',
+ 'license_object_url',
'license_author',
+ 'license_author_url',
+ 'license_derivative_source_url',
'author_history',
]