Change hide_problem_tags default to True

This commit is contained in:
cuom1999 2022-03-05 16:13:01 -06:00
parent ed6e79fdf0
commit 68c6f13926
2 changed files with 19 additions and 1 deletions

View 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'),
),
]

View file

@ -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 '