This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/submission-page
- Loading branch information
Showing
10 changed files
with
286 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 4.2.7 on 2023-11-26 22:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("submissions", "0002_alter_submission_code"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="submission", | ||
name="status", | ||
field=models.TextField( | ||
choices=[ | ||
("WJ", "Waiting judge"), | ||
("JG", "Judging"), | ||
("AC", "Accepted"), | ||
("WA", "Wrong answer"), | ||
("RE", "Runtime error"), | ||
("TLE", "Time limit exceeded"), | ||
("MLE", "Memory limit exceeded"), | ||
("CE", "Compilation error"), | ||
("IE", "Internal error"), | ||
("UE", "Unknown error"), | ||
("SE", "Submission error"), | ||
("PE", "Presentation error"), | ||
], | ||
default="WJ", | ||
max_length=3, | ||
), | ||
), | ||
] |
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
22 changes: 22 additions & 0 deletions
22
apps/tasks/migrations/0004_task_input_file_task_output_file.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,22 @@ | ||
# Generated by Django 4.2.7 on 2023-11-26 21:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("tasks", "0003_task_memory_limit_task_score_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="task", | ||
name="input_file", | ||
field=models.TextField(), | ||
), | ||
migrations.AddField( | ||
model_name="task", | ||
name="output_file", | ||
field=models.TextField(), | ||
), | ||
] |
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
Oops, something went wrong.