Open MarisiaS opened 5 months ago
This PR address issue #59
Implementation
Created an auxiliar function to filter by group
Based on Head Model, displays id, athlete, athlete_full_name, and heat_time
id
athlete
athlete_full_name
heat_time
Uses EventResultSerializer and, given an event, displays all the results of the event ordered by heat_time. Filtering by group is possible.
EventResultSerializer
event
backend/api/urls.py
The endpoint event_result/<int:event_id>/ was added. Uses EventResultView.
event_result/<int:event_id>/
EventResultView
This PR address issue #59
Implementation
Created an auxiliar function to filter by group
Based on Head Model, displays
id
,athlete
,athlete_full_name
, andheat_time
Uses
EventResultSerializer
and, given anevent
, displays all the results of the event ordered byheat_time
. Filtering by group is possible.backend/api/urls.py
The endpoint
event_result/<int:event_id>/
was added. UsesEventResultView
.