Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Allow API to filter exercises by UUID

Roland Geidera55db64cc0f7
diff --git a/wger/exercises/api/resources.py b/wger/exercises/api/resources.py
index 3cb2e5fee..27902b45c 100644
--- a/wger/exercises/api/resources.py
+++ b/wger/exercises/api/resources.py
@@ -51,6 +51,7 @@ class ExerciseResource(ModelResource):
class Meta:
queryset = Exercise.objects.all()
filtering = {'id': ALL,
+ "uuid": ALL,
"category": ALL_WITH_RELATIONS,
"creation_date": ALL,
"description": ALL,