Change hide_problem_tags default to True
This commit is contained in:
parent
ed6e79fdf0
commit
68c6f13926
2 changed files with 19 additions and 1 deletions
18
judge/migrations/0119_auto_20220306_0512.py
Normal file
18
judge/migrations/0119_auto_20220306_0512.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.25 on 2022-03-05 22:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('judge', '0118_rating'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='contest',
|
||||
name='hide_problem_tags',
|
||||
field=models.BooleanField(default=True, help_text='Whether problem tags should be hidden by default.', verbose_name='hide problem tags'),
|
||||
),
|
||||
]
|
|
@ -101,7 +101,7 @@ class Contest(models.Model):
|
|||
related_name='private_contestants+')
|
||||
hide_problem_tags = models.BooleanField(verbose_name=_('hide problem tags'),
|
||||
help_text=_('Whether problem tags should be hidden by default.'),
|
||||
default=False)
|
||||
default=True)
|
||||
run_pretests_only = models.BooleanField(verbose_name=_('run pretests only'),
|
||||
help_text=_('Whether judges should grade pretests only, versus all '
|
||||
'testcases. Commonly set during a contest, then unset '
|
||||
|
|
Loading…
Reference in a new issue