summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 94498a1..1375d10 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -214,3 +214,14 @@ class ProfileForm(forms.ModelForm):
class UploadFileForm(forms.Form):
file = forms.FileField()
+
+class StandardTestCaseForm(forms.ModelForm):
+ class Meta:
+ model = StandardTestCase
+ fields = ['test_case']
+
+
+class StdoutBasedTestCaseForm(forms.ModelForm):
+ class Meta:
+ model = StdoutBasedTestCase
+ fields = ['output']