MarisiaS / SMM

0 stars 0 forks source link

BE-Athlete seed times #74

Closed MarisiaS closed 5 months ago

MarisiaS commented 5 months ago

This PR addresses issue #56

Implementation

  1. backend/api/CustomField.py Created custom field subclass HeatDurationField of DurationField.

Added the following option:

  1. backend/api/serializers/AthleteSeedTimeSerializer.py Created two serializer:
  1. backend/api/views/AtheleteSeedTimeView.py Created AthleteSeedTimeView. This view contains two methods:
  1. backend/api/urls.py Added seed_times/<int:event_id> endpoint