Skip to content

Commit

Permalink
Scoring: Migration for new scoring system
Browse files Browse the repository at this point in the history
  • Loading branch information
UEWBot committed Mar 3, 2024
1 parent 24c9fe8 commit a462c37
Showing 1 changed file with 19 additions and 0 deletions.
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]),
),
]

0 comments on commit a462c37

Please sign in to comment.