summaryrefslogtreecommitdiff
path: root/testapp/exam/settings.py
diff options
context:
space:
mode:
authorankitjavalkar2015-04-30 12:41:17 +0530
committerankitjavalkar2015-05-11 16:08:06 +0530
commit3e29dc7f6df7019562b179872b43cb13c7483738 (patch)
treef3ce37bc01aa8ffaf15a5ee380cbb371a74f4188 /testapp/exam/settings.py
parentd8847656ba79e51c96c6e3650374aaf616c375dc (diff)
downloadonline_test-3e29dc7f6df7019562b179872b43cb13c7483738.tar.gz
online_test-3e29dc7f6df7019562b179872b43cb13c7483738.tar.bz2
online_test-3e29dc7f6df7019562b179872b43cb13c7483738.zip
- Seperate testcases, Modify views, models, templates for compatibility
- Change functions names in code_evaluator
Diffstat (limited to 'testapp/exam/settings.py')
-rw-r--r--testapp/exam/settings.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/testapp/exam/settings.py b/testapp/exam/settings.py
index 497a620..93f90a9 100644
--- a/testapp/exam/settings.py
+++ b/testapp/exam/settings.py
@@ -19,10 +19,10 @@ SERVER_TIMEOUT = 2
# host.org/foo/exam set URL_ROOT='/foo'
URL_ROOT = ''
-language_register = {"python": "python_code_evaluator",
- "c": "c_cpp_code_evaluator",
- "cpp": "c_cpp_code_evaluator",
- "java": "java_evaluator",
- "bash": "bash_evaluator",
- "scilab": "scilab_evaluator",
+code_evaluators = {"python": "python_code_evaluator.PythonCodeEvaluator",
+ "c": "c_cpp_code_evaluator.CCPPCodeEvaluator",
+ "cpp": "c_cpp_code_evaluator.CCPPCodeEvaluator",
+ "java": "java_evaluator.JavaCodeEvaluator",
+ "bash": "bash_evaluator.BashCodeEvaluator",
+ "scilab": "scilab_evaluator.ScilabCodeEvaluator",
}