Test Formatter (#100)
This commit is contained in:
parent
14ecef649e
commit
04c6af1dff
19 changed files with 1624 additions and 0 deletions
|
@ -29,6 +29,7 @@ from django_ace import AceWidget
|
|||
from judge.models import (
|
||||
Contest,
|
||||
Language,
|
||||
TestFormatterModel,
|
||||
Organization,
|
||||
PrivateMessage,
|
||||
Problem,
|
||||
|
@ -37,6 +38,7 @@ from judge.models import (
|
|||
Submission,
|
||||
BlogPost,
|
||||
ContestProblem,
|
||||
TestFormatterModel,
|
||||
)
|
||||
|
||||
from judge.widgets import (
|
||||
|
@ -568,3 +570,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