Allow to create group and its contest on UI
This commit is contained in:
parent
196e2a9bb0
commit
67ef6b9111
28 changed files with 1029 additions and 556 deletions
28
judge/migrations/0132_auto_20220915_1349.py
Normal file
28
judge/migrations/0132_auto_20220915_1349.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Generated by Django 2.2.25 on 2022-09-15 06:49
|
||||
|
||||
import django.core.validators
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("judge", "0131_auto_20220905_0027"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="contestproblem",
|
||||
name="max_submissions",
|
||||
field=models.IntegerField(
|
||||
default=0,
|
||||
help_text="Maximum number of submissions for this problem, or 0 for no limit.",
|
||||
validators=[
|
||||
django.core.validators.MinValueValidator(
|
||||
0, "Why include a problem you can't submit to?"
|
||||
)
|
||||
],
|
||||
verbose_name="max submissions",
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue