summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index df590de..fdc881f 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -36,6 +36,8 @@ question_types = (
("code", "Code"),
("upload", "Assignment Upload"),
("integer", "Answer in Integer"),
+ ("string", "Answer in String"),
+ ("float", "Answer in Decimal"),
)
test_case_types = (
@@ -44,6 +46,8 @@ test_case_types = (
("mcqtestcase", "MCQ Testcase"),
("hooktestcase", "Hook Testcase"),
("integertestcase", "Integer Testcase"),
+ ("stringtestcase", "String Testcase"),
+ ("floattestcase", "Float Testcase"),
)
UNAME_CHARS = letters + "._" + digits