Test Formatter 1st commit
This commit is contained in:
parent
0403c4be31
commit
3d59aa4809
13 changed files with 925 additions and 0 deletions
|
@ -37,6 +37,7 @@ from judge.models import (
|
|||
Submission,
|
||||
BlogPost,
|
||||
ContestProblem,
|
||||
TestFormatterModel,
|
||||
)
|
||||
|
||||
from judge.widgets import (
|
||||
|
@ -566,3 +567,9 @@ class ContestProblemFormSet(
|
|||
)
|
||||
):
|
||||
model = ContestProblem
|
||||
|
||||
|
||||
class TestFormatterForm(ModelForm):
|
||||
class Meta:
|
||||
model = TestFormatterModel
|
||||
fields = ["file"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue