-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scoring: Migration for new scoring system
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
visualiser/tournament/migrations/0105_alter_tournament_tournament_scoring_system.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.24 on 2024-03-03 03:42 | ||
|
||
from django.db import migrations, models | ||
import tournament.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tournament', '0104_auto_20240222_1024'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='tournament', | ||
name='tournament_scoring_system', | ||
field=models.CharField(choices=[('Best single game result', 'Best single game result'), ('Sum best 2 rounds', 'Sum best 2 rounds'), ('Sum best 3 rounds', 'Sum best 3 rounds'), ('Sum best 4 games in any rounds', 'Sum best 4 games in any rounds'), ('Sum best 4 rounds', 'Sum best 4 rounds')], help_text='How to combine round scores into a tournament score', max_length=40, validators=[tournament.models.validate_tournament_scoring_system]), | ||
), | ||
] |