Add public scoreboard option
This commit is contained in:
parent
f3bcc25eb0
commit
8bb3812f97
11 changed files with 312 additions and 35 deletions
22
judge/migrations/0169_public_scoreboard.py
Normal file
22
judge/migrations/0169_public_scoreboard.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 3.2.18 on 2023-09-17 01:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("judge", "0168_css_background"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="contest",
|
||||
name="public_scoreboard",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
help_text="Ranking page is public even for private contests.",
|
||||
verbose_name="public scoreboard",
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue