summaryrefslogtreecommitdiff
path: root/testapp/exam/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam/settings.py')
-rw-r--r--testapp/exam/settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/testapp/exam/settings.py b/testapp/exam/settings.py
index 682516f..497a620 100644
--- a/testapp/exam/settings.py
+++ b/testapp/exam/settings.py
@@ -18,3 +18,11 @@ SERVER_TIMEOUT = 2
# reason set this to the root you have to serve at. In the above example
# 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",
+ }