Add contest freeze

This commit is contained in:
cuom1999 2022-11-18 16:59:58 -06:00
parent 2c39774ff7
commit a35ea0f6d5
13 changed files with 338 additions and 215 deletions

View file

@ -0,0 +1,23 @@
# Generated by Django 3.2.16 on 2022-11-18 06:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("judge", "0138_bookmark_makebookmark"),
]
operations = [
migrations.AddField(
model_name="contest",
name="freeze_after",
field=models.DurationField(
blank=True,
help_text="Format hh:mm:ss. For example, if you want to freeze contest after 2 hours, enter 02:00:00",
null=True,
verbose_name="freeze after",
),
),
]