diff options
author | ankitjavalkar | 2017-11-20 16:07:43 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-01-04 11:37:20 +0530 |
commit | 6f2e29a067cbeaf88b8ea478bb7c24fe8772180a (patch) | |
tree | 63f6efac4d2167bbe96a268ac990a4d9e0a1cc69 /yaksh/views.py | |
parent | 2c057133d1b131a1573c93f0d0dbb548dcc8223e (diff) | |
download | online_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.tar.gz online_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.tar.bz2 online_test-6f2e29a067cbeaf88b8ea478bb7c24fe8772180a.zip |
Multiple Changes:
- Add python-decouple package to requirements
- use sane defaults and python-decouple in yaksh.settings and online_test.settings module
- Replace hardcoded localhost domain name referring to code server with dynamic
- Move Dockerfile to dedicated directory
- Add dynamic run-as-admin commands to the base command depending on OS
- Replace linux specific commands like cp with Python functions
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index a001ffd..8fe4523 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -35,7 +35,7 @@ except ImportError: from io import BytesIO as string_io import re # Local imports. -from yaksh.code_server import get_result as get_result_from_code_server, +from yaksh.code_server import get_result as get_result_from_code_server from yaksh.models import ( Answer, AnswerPaper, AssignmentUpload, Course, FileUpload, FloatTestCase, HookTestCase, IntegerTestCase, McqTestCase, Profile, |