Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Add teams #35

Open
rubenvanerk opened this issue May 18, 2020 · 0 comments
Open

Add teams #35

rubenvanerk opened this issue May 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@rubenvanerk
Copy link
Owner

rubenvanerk commented May 18, 2020

The Participation model

In the Participation model is stored for which team an athlete competed in a competition.

class Participation(models.Model):
    competition = models.ForeignKey(Competition, on_delete=models.CASCADE)
    athlete = models.ForeignKey(Athlete, on_delete=models.CASCADE)
    team = models.ForeignKey(Team, on_delete=models.CASCADE)

The team name of the athlete should be displayed with the results.
A list of all participating teams should be available on the competition overview.

Team pages

A team's home page displays all club records per event per gender.
When #44 is solved, this can also be grouped by age.
On a separate page, the user can see in which competitions the team competed.
An overview of the medals won can be displayed on top of this page.
Team list should be searchable.
Teams should be able to be marked as duplicate

Misc

Team can be displayed in the Timeline
Teams can be merged, original team should become an alias for the main team.

@rubenvanerk rubenvanerk added the enhancement New feature or request label May 18, 2020
@rubenvanerk rubenvanerk changed the title Add clubs Add teams Jun 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant