-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22cf5c0
commit 8c661ac
Showing
9 changed files
with
213 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
oioioi/programs/migrations/0020_programsubmission_user_language_code.py
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
oioioi/programs/migrations/0020_programsubmission_user_language_code_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated by Django 4.2.16 on 2024-09-15 21:27 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import oioioi.base.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('contests', '0018_contest_show_contest_rules'), | ||
('programs', '0019_add_limits_override'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='programsubmission', | ||
name='user_language_code', | ||
field=models.CharField(blank=True, max_length=6, null=True, verbose_name='User language code'), | ||
), | ||
migrations.CreateModel( | ||
name='CheckerFormatForProblem', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('format', oioioi.base.fields.EnumField(max_length=64, verbose_name='format')), | ||
('problem_instance', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='contests.probleminstance', verbose_name='problem instance')), | ||
], | ||
options={ | ||
'verbose_name': 'checker format for problem', | ||
'verbose_name_plural': 'checker formats for problems', | ||
'ordering': ('problem_instance',), | ||
'unique_together': {('problem_instance', 'format')}, | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='CheckerFormatForContest', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('format', oioioi.base.fields.EnumField(help_text="Format of the checker output for this contest. Abbreviated describes the output difference, while Terse doesn't give any details.", max_length=64, verbose_name='format')), | ||
('contest', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='contests.contest', verbose_name='contest')), | ||
], | ||
options={ | ||
'verbose_name': 'checker format for contest', | ||
'verbose_name_plural': 'checker formats for contests', | ||
'ordering': ('contest',), | ||
'unique_together': {('contest', 'format')}, | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters