Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to just 3 rounds in the admin #338

Open
UEWBot opened this issue Feb 3, 2025 · 2 comments
Open

Default to just 3 rounds in the admin #338

UEWBot opened this issue Feb 3, 2025 · 2 comments

Comments

@UEWBot
Copy link
Owner

UEWBot commented Feb 3, 2025

7 seems excessive, and it's easy to add additional rounds if needed. 3 round is probably the most common number in practice.

@UEWBot
Copy link
Owner Author

UEWBot commented Feb 4, 2025

It's not quite that simple.
RoundInline.extra = 4, which means that when creating a new tournament, 4 empty rounds will be shown. If you add 3 and then edit the tournament, you'll see those three plus 4 more empty rounds.

@UEWBot
Copy link
Owner Author

UEWBot commented Feb 4, 2025

Looks like we can provide RoundInline.get_extra() which could return 3 when creating a new tournament and 1 when editing an existing tournament.

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

No branches or pull requests

1 participant