2020-10-26 20:13:17 +00:00
|
|
|
# Generated by Django 2.2.12 on 2020-10-26 19:51
|
|
|
|
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2022-05-14 17:57:27 +00:00
|
|
|
("judge", "0110_notification_author"),
|
2020-10-26 20:13:17 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2022-05-14 17:57:27 +00:00
|
|
|
model_name="contest",
|
|
|
|
name="points_precision",
|
|
|
|
field=models.IntegerField(
|
|
|
|
default=2,
|
|
|
|
help_text="Number of digits to round points to.",
|
|
|
|
validators=[
|
|
|
|
django.core.validators.MinValueValidator(0),
|
|
|
|
django.core.validators.MaxValueValidator(10),
|
|
|
|
],
|
|
|
|
verbose_name="precision points",
|
|
|
|
),
|
2020-10-26 20:13:17 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2022-05-14 17:57:27 +00:00
|
|
|
model_name="contestparticipation",
|
|
|
|
name="score",
|
|
|
|
field=models.FloatField(db_index=True, default=0, verbose_name="score"),
|
2020-10-26 20:13:17 +00:00
|
|
|
),
|
|
|
|
]
|