add custom checker

This commit is contained in:
Dinh 2020-01-23 20:32:46 -06:00
parent 184fa549e0
commit 25ebc87db8
8 changed files with 601 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class ProblemDataForm(ModelForm):
class Meta:
model = ProblemData
fields = ['zipfile', 'generator', 'output_limit', 'output_prefix', 'checker', 'checker_args']
fields = ['zipfile', 'generator', 'output_limit', 'output_prefix', 'checker', 'checker_args', 'custom_checker']
widgets = {
'checker_args': HiddenInput,
}