Skip to content
Snippets Groups Projects
Commit 9d69f71d authored by borzechof99's avatar borzechof99 :whale2:
Browse files

Merge branch '46-implement-the-adminfrontend-api' of...

Merge branch '46-implement-the-adminfrontend-api' of git.imp.fu-berlin.de:swp-unisport/team-warumkeinrust/unisport-o-mat into 46-implement-the-adminfrontend-api
parents 2408c6a0 dbc5219c
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ class IncompleteSportSerializer(serializers.BaseSerializer):
}
for crit in sport.criteria_ratings.iterator():
# Asking this way to save an indentation and for readability. Would also work when asking for = -1 and handling the append then.
if sport.get_rating(crit) != -1:
continue
......
......@@ -160,7 +160,6 @@ class SmallSportListView(viewsets.ViewSet):
"""
PATCH for api/admin/sport/<id>/
Fills in the given Values into the Sport specified in the URL
TODO: Id From URL or JSON?
"""
# Get Data from Serializer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment