Add interactive option

This commit is contained in:
cuom1999 2022-04-14 14:14:58 -05:00
parent 122cd0fa73
commit ff8f12c134
6 changed files with 112 additions and 5 deletions

View file

@ -61,7 +61,7 @@ class ProblemDataForm(ModelForm):
class Meta:
model = ProblemData
fields = ['zipfile', 'checker', 'checker_args', 'custom_checker', 'custom_validator']
fields = ['zipfile', 'checker', 'checker_args', 'custom_checker', 'custom_validator', 'interactive_judge']
widgets = {
'zipfile': FineUploadFileInput,
'checker_args': HiddenInput,