Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -7,18 +7,26 @@ from django.db import migrations, models
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('judge', '0110_notification_author'),
|
||||
("judge", "0110_notification_author"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
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'),
|
||||
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",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='contestparticipation',
|
||||
name='score',
|
||||
field=models.FloatField(db_index=True, default=0, verbose_name='score'),
|
||||
model_name="contestparticipation",
|
||||
name="score",
|
||||
field=models.FloatField(db_index=True, default=0, verbose_name="score"),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue