MarisiaS / SMM

0 stars 0 forks source link

Generate heats #57

Closed MarisiaS closed 1 month ago

MarisiaS commented 7 months ago

This is part of issue #52

Description

In order to streamline the management of swim meets, it is essential to implement a feature that automates the generation of heats. This process involves taking into account specific details such as the event, list of athletes, and their respective seed times. This issue aims to address this requirement by creating a serializer for posting heats and developing a corresponding view with a POST method to facilitate the generation process.

Create Serializer Develop a serializer that can handle the necessary input data for generating heats. This should include fields for the event, list of athletes, and their seed times.

Create POST View Implement a view with a POST method that processes the data sent to the server for generating heats. Develop the logic to generate heats based on the provided information, ensuring proper grouping and consideration of seed times.