Skip to content

Basic Outright waivers#18

Draft
matthewyaspan wants to merge 11 commits intomainfrom
waiver_wire
Draft

Basic Outright waivers#18
matthewyaspan wants to merge 11 commits intomainfrom
waiver_wire

Conversation

@matthewyaspan
Copy link
Collaborator

@matthewyaspan matthewyaspan commented Apr 5, 2023

This creates a page for outright waivers. We mark playesr who are on waivers and have a new model for claims.

Things I've yet to do:

  • Ability to post someone to outright waivers
  • give an indication to the current user of their current claims (grey out boxes)
  • Prevent non-team affiliated users from sending a claim request (also greyed out)
    - [ ] Admin page to manage players on waivers/claims
  • Management command to execute claims


operations = [
migrations.AddField(model_name="team",
name="reverse_previous_season_rank",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used for waiver priority as well as draft order and IFA cap.


operations = [
migrations.AddField(model_name="player",
name="is_on_outright_waivers",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than a field we maybe want to create a OutrightedPlayer model with a foreign key to player, and condition the player's 40-man status and indicator on an existing OutrightedPlayer object associated with that player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant