fix test_formatter

This commit is contained in:
BaoLe106 2024-01-09 01:54:09 +08:00
parent 14ecef649e
commit c818001b5c
14 changed files with 961 additions and 0 deletions

View file

@ -29,6 +29,7 @@ from django_ace import AceWidget
from judge.models import (
Contest,
Language,
TestFormatterModel,
Organization,
PrivateMessage,
Problem,
@ -568,3 +569,9 @@ class ContestProblemFormSet(
)
):
model = ContestProblem
class TestFormatterForm(ModelForm):
class Meta:
model = TestFormatterModel
fields = ["file"]