1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 02:06:52 +00:00

There are only 3 problems

This commit is contained in:
Yohann D'ANELLO 2020-10-31 13:36:03 +01:00
parent 95e1c4f821
commit 2273cbfbc6
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class Migration(migrations.Migration):
name='Participation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('problem', models.IntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4')], default=None, null=True, verbose_name='problem number')),
('problem', models.IntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3')], default=None, null=True, verbose_name='problem number')),
],
options={
'verbose_name': 'participation',

View File

@ -116,7 +116,7 @@ class Participation(models.Model):
)
problem = models.IntegerField(
choices=[(i, format_lazy(_("Problem #{problem:d}"), problem=i)) for i in range(1, 5)],
choices=[(i, format_lazy(_("Problem #{problem:d}"), problem=i)) for i in range(1, 4)],
null=True,
default=None,
verbose_name=_("problem number"),